With featureFlagSbeFull, a [\{$addFields: {}}, \{$count: "count"}] pipeline run against a timeseries collections will get pushed down to SBE as $group stage, but it will return the number of buckets instead of the number of groups.
[{$addFields: {}}, {$count: "count"}] counts number of buckets in timeseries with featureFlagSbeFull
- Votes:
-
0 Vote for this issue
- Watchers:
-
7 Start watching this issue
- Created:
- Updated:
- Resolved: