-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The makeEmptyCanonicalQuery() function is currently constructing a CanonicalQuery with a filter, limit and project to model the SBE stages we execute during initial sampling of a collection. However, we do not actually use any of the fields in the CanonicalQuery as we opt to construct the SBE stages manually. As such we should simplify this function to better reflect its purpose as an "empty" CanonicalQuery