Simplify makeEmptyCanonicalQuery

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The makeEmptyCanonicalQuery() function is currently constructing a CanonicalQuery with a filter, limit and project to model the SBE stages we execute during initial sampling of a collection. However, we do not actually use any of the fields in the CanonicalQuery as we opt to construct the SBE stages manually. As such we should simplify this function to better reflect its purpose as an "empty" CanonicalQuery

            Assignee:
            Naafiyan Ahmed
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: