SERVER-139046In Code Review

Add QueryPlannerAnalysis::canProvePathIsNotMissing

Adds {{QueryPlannerAnalysis::canProvePathIsNotMissing(node, path)}}, which returns true only when {{path}} in the output of {{node}} can never be missing (SBE {{Nothing}}). Index keys store a missing value as null, so a field that comes unchanged from a covered {{IXSCAN}} is never missing. A streaming {{$group}} with a multi-field object {{_id}} needs a {{fillEmptyNull}} cluster key for every field that may be missing, because index order and sort order interleave null and missing rows. This he

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.