[SERVER-68683] [CQF] Fix grow_hash_table.js Created: 09/Aug/22  Updated: 29/Oct/23  Resolved: 10/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Svilen Mihaylov (Inactive) Assignee: Svilen Mihaylov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-67638 [CQF] Error when projection has >10k ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

This test creates a find query with a simple condition, but very large projection list. This query is translated currently into a node using a PathKeep expression. Currently we perform a rewrite where we expand a PathKeep into individual Eval nodes in the hope that we can cover the fields with an index.

 

This proposed fix is to constrain this rewrite only to cases with small number of fields to keep (say less than 10). There is also a fix for an SBE overflow issue with PathKeep.


Generated at Thu Feb 08 06:11:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.