Track whether field is a known non-object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Follow-up to SERVER-122273 (non-object also means non-array). The `shadowedByParent` case in `PipelineDependencyGraph::Impl::includeField()` can't distinguish "field is a known scalar" from "field is an opaque value". In absence of proper constant propagation, we can just track this piece of information to get many of the benefits.

            Assignee:
            Henri Nikku
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: