-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying
-
Fully Compatible
-
Query Execution 2021-03-22
The diff for SERVER-49819 changed "sbe_stage_builder_filter.cpp" so that most operators call generateTraverse() with the mode = LeafArrayTraversalMode::kArrayAndItsElements, which generates a slightly more complex SBE plan tree that will apply the specified predicate to both an array's elements and the array itself.
The goal of this task is to see if there are cases where we can safely call generateTraverse() with mode = LeafArrayTraversalMode::kArrayElementsOnly instead (which would generate a slightly simpler SBE plan tree).
- is depended on by
-
SERVER-51470 [SBE] Decide if we should rewrite generatePathTraversal() to only call “makePredicate” callback once
- Closed