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

Timeseries min/max rewrites should use Expression dependencies to identify whether the re-writes are possibles

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Query Integration
    • Fully Compatible
    • QI 2023-10-16, QI 2023-10-30, QI 2023-11-13

    Description

      This is an optimization where we can push a $group before an internal bucket unpack. We currently don't support the rewrite when the group key is complicated expression (not ExpressionFieldPath) that depends only on the meta field, e.g. _id: {$add: ["$meta", 42]}.

      Attachments

        Activity

          People

            chris.wolff@mongodb.com Chris Wolff
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: