[SERVER-72010] [CQF] SortedMergeNode reference tracker logic excludes some definitions from children Created: 09/Dec/22  Updated: 29/Jun/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Will Buerger Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: starter, testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-75587 [CQF] Handle RIDUnion for physical op... Closed
depends on SERVER-69026 [CQF] Support for index OR-ing Closed
Assigned Teams:
Query Optimization
Operating System: ALL
Participants:

 Description   

The SortedMergeNode reference tracker logic added in SERVER-70637 only propagates definitions from its childResults if the variable name is included in its binded names.

Adding new assertions to the reference tracker in SERVER-70880 raised an error in this sbe_abt_test case because the "pa" definition from the EvalNode does not get propagated through the SortedMergeNode; the RootNode then finds no projection exists for "pa". Either the test is wrong or we should reconsider the reference tracker behavior for SortedMergeNode.


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