-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2023-11-13
Currently comparison Operations are used in Paths and Expressions. In the former, their semantics are non type-bracketing, whereas in the latter their semantics are type-bracketing. This mismatch causes confusion and makes many rewrites difficult to reason about, for example, interval intersection and constant folding. After discussion with the QO team, the decision was to change the semantics of Expressions to also be non type-bracketing as was originally intended in the design of these structures.
One problem is that the SBE stage builders have a dependency on ABT for constant folding and lowering. It appears that they use these structures with the assumption of Expressions having type-bracketing semantics, so changing this might cause breakages on master. Part of the task of this ticket would be to investigate the SBE stage builders dependency on ABT and address it.
- causes
-
SERVER-82987 [CQF] Fix path fusion for constant and comparison
- Closed
- is depended on by
-
SERVER-81505 Enable parameterization of find queries
- Closed