-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This check needs to use needsWholeDocument instead of checking if the returned set of field dependencies is empty, as a query needing the whole document is independent of it having static top-level field dependencies.
Refactor ce::extractTopLevelFieldsFromMatchExpression to take into account DepsTracker::needWholeDocument, and modify the interface accordingly (eg. return boost::none if needsWholeDocument is set, instead of returning an empty set).