Move sort to end of TSBS finance queries

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-10-17, Execution Team 2022-10-31
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Gregory Noma
            Reporter:
            Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: