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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • Fully Compatible
    • QI 2023-10-16, QI 2023-10-30, QI 2023-11-13

      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]}.

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

              Created:
              Updated:
              Resolved: