-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
The change is explained here: https://docs.google.com/document/d/1QIgFj_lc0AlH2fPCAi4QdgPhXFGqz--LjpBp4KDff-Q
We might want to reflect this change in our documentation if we already mention field ordering somewhere in the documentation. However, it's best to avoid having any guarantees for the field ordering, as it might change in the future. As a matter of fact, it's best to explicitly mention in the documentation that there's no guarantee for the field ordering and user applications should not depend on it.
Description of Linked Ticket
The behavior of $project in the classic engine is to order projection fields ahead of fields which require expression evaluation. SBE engine doesn't seemed to follow this convention, which is producing failures on the aggregation fuzzers. We should fix the behavior to match that of classic engine.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-57741 SBE should order projection fields ahead of expression fields in a $project stage
- Closed