-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
As part of SERVER-95275, we intend to remove a number of tests for Bonsai's ConstEval implementation. We made an effort to port some of these tests to use ExpressionConstEval instead. We considered test cases that use only ABT Expressions, not Paths or Nodes, since those are the only operators currently relevant to the stage builders.
Some of these tests did not pass with ExpressionConstEval. This ticket is to investigate why and to determine if we want to make any changes to ExpressionConstEval based on what we find. It's possible these test cases are completely irrelevant to stage builders, in which case the ticket can be closed. The tests are:
- Parts of AndOrFoldNonNothingLhs and all of FoldIsInListForConstants in const_eval_test.cpp
- ConstFoldIf* and ConstantEquality in optimizer_test.cpp
Note that any test cases involving the getParam function can be ignored, as this was related to the Bonsai plan cache implementation (see SERVER-82148).