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

XMLWordPrintableJSON

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

      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
            Reporter:
            Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: