[SERVER-79932] Align the logic of generated sort by field expression with classic engine Created: 11/Aug/23  Updated: 29/Oct/23  Resolved: 14/Aug/23

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

Type: Task Priority: Major - P3
Reporter: Rui Liu Assignee: Rui Liu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

The classic engine uses the field path expression directly as the sort expression without the added logic from `generateSortTraverse`. We will align this with the classic engine in SBE before we investigate whether it's possible to optimize this out in https://jira.mongodb.org/browse/SERVER-79564



 Comments   
Comment by Githook User [ 14/Aug/23 ]

Author:

{'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}

Message: SERVER-79932 Use the same sort expression as in classic engine
Branch: master
https://github.com/mongodb/mongo/commit/5142959dc76fdc06745c1bee38704d16c373a0c7

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