[CQF] Satisfy RemoveOrphansRequirement in ScanNode implementer

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In many cases, plans will have a SargableNode which will satisfy RemoveOrphansRequirement (SERVER-78507). However, plans without sargable predicates (or an empty query) may result in a full collection scan with a ScanNode without a SargableNode. This means we need ScanNode to be able to satisfy RemoveOrphansRequirement.

      We could rely the existing enforcer for RemoveOrphansRequirement to generate a physical alternative, but this won't take advantage of the ability to push down top-level field projections into the physical scan.

      We should take care to test dotted field paths.

            Assignee:
            Richard Hausman (Inactive)
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: