Add support for uncorrelated $match predicates in SBE lookup

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • if the feature flag is enabled, allow a $lookup statement having a pipeline with a single $match made of SBE-supported expressions to run under SBE, if the main lookup field is indexed or the cardinality of the foreign collection is eligible for a hash join strategy
      • when building the EqLookupNode, attach the MatchExpression in the filter property of the CollectionScanNode or the FetchNode (if the strategy is using a index)
      • in the stage builder, create the appropriate Filter stage on top of foreign collection code

            Assignee:
            Unassigned
            Reporter:
            Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: