Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57334

Create desugaring namespace for DocumentSourceDensify

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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:
            samuel.mercier@mongodb.com Sam Mercier
            Reporter:
            joseph.kanaan@mongodb.com Joe Kanaan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: