Make allowDiskUse a template parameter in SBE SortStage

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We know upfront whether we may need to spill to disk during sort or not. So, we can build an optimized SortStage by eliminating all the code dealing with spilling in compile time by templating allowDiskUse parameter .

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: