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

Create desugaring namespace for DocumentSourceDensify

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • 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

    Description

      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.

      Attachments

        Activity

          People

            samuel.mercier@mongodb.com Sam Mercier
            joseph.kanaan@mongodb.com Joe Kanaan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: