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

Replace $function Unpacking in Timeseries Collection with $unpackBucket

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: 5.0 Required
    • Component/s: Querying
    • Fully Compatible
    • Execution Team 2021-01-25

      Storage execution has added temporary placeholder javascript code via $function to implement bucket unpacking to power the timeseries view. When the DocumentSource $unpackBucket stage is ready, we need to replace the $function code here with $unpackBucket. When doing this work please also be mindful that we will need to read the user-defined timeField and metaField from the view catalog and populate inputs to the $unpackBucket stage. 

      We are also wondering if we actually need to implement parsing here. Is it possible to inject this stage somewhere in the view resolution pipeline.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: