-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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]}.