-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2022-07-25, QO 2022-08-08, QO 2022-08-22, QO 2022-09-05, QO 2022-09-19, QO 2022-10-03
Generate an internal SBE command for statistics analysis which runs the equivalent of
db.coll.aggregate( [ { $project: {val : path} }, { $_analyzeInternal: {} }, { $merge: ... } ]);
_analyzeInternal will be implemented in a follow-on ticket. For now it can simply consume values and emit an empty document at the end of the stream.
The $merge is to replace (or insert) the value in the stats collection with the newly calculated value. Note that this requires a unique index on "path" which should be workable.
- is depended on by
-
SERVER-68748 Move analyze testing out of core and into cqf
- Closed
- is duplicated by
-
SERVER-67361 Extend analyze command to generate collection as needed
- Closed