Create desugaring namespace for DocumentSourceDensify

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Optimization 2021-06-28, Query Optimization 2021-07-12, Query Optimization 2021-07-26, Query Optimization 2021-08-09, QO 2021-08-23
    • 159
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Implement a namespace that desugars a DocumentSourceDensify stage to a sort stage and an InternalDocumentSourceDensify. Only needs to support range: full with numeric steps (in addition to the "field" required argument), and assert on as of yet unsupported options. This ticket should include serializing InternalDocumentSourceDensify back to something that resembles the original $densify command. SERVER-53397 is a good example of this. After this ticket DocumentSourceDensify should be accessible from JSTests.

      Note that we should parse the DocumentSource using IDL.

            Assignee:
            Sam Mercier
            Reporter:
            Joe Kanaan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: