Track arrayness through $lookup+$unwind in the dependency graph

XMLWordPrintableJSON

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

      For example in the following query, we should be able push the $match past the $project if the $lookup collection has multikeyness metadata on 'bar' [\{$lookup: {..., as: "foo"}}, \{$unwind: {path: "$foo"}}, project: \{"a": "$foo.bar"}, \{$match: {"a": 1}}]. We'll probably need to special case lookup+unwind somehow.

            Assignee:
            Vesko Karaganev
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: