Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2022-10-17, Execution Team 2022-10-31
Description
In the TSBS finance queries, currently after doing the open/high/low/close we do a sort on _id.time. However, this sort isn't actually needed here since the subsequent $setWindowFields stages already explicitly order by _id.time. So, we can move this sort to the end of the pipeline.