[SERVER-72911] Support collator in ABT ConstEval Created: 17/Jan/23  Updated: 29/Oct/23  Resolved: 19/Jan/23

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

Type: Improvement Priority: Major - P3
Reporter: Ivan Fefer Assignee: Ivan Fefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-69638 ☂️ ABT in SBE Stage Builders Closed
is depended on by SERVER-71587 Extend abtToExpr to support case-inse... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-01-23
Participants:

 Description   

We are using optimizer::ConstEval to constant fold ABTs, generated by sbe_stage_builder_expression.

Collation is not support in optimizer yet, so we need to create our own ConstEval ABT rewrite that supports collation.

After discussion with QO team we decided to  copy current optimizer::ConstEval to stage_builder, simplify it to support only expressions and add collation support.



 Comments   
Comment by Githook User [ 19/Jan/23 ]

Author:

{'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}

Message: SERVER-72911 Create independed stage_builder::ExpressionConstEval for QE
Branch: master
https://github.com/mongodb/mongo/commit/1eabbd4cbac6b05a41940a6bae7d622d94235a53

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