Investigate replacing terminal unwind of foreign key in $lookup with a conditional one

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc2, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QE 2022-05-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if the terminal value in the foreign key is a scalar, we'll add the scalar to the stream of foreign key values twice, first from the unwind and then as a "whole value". We should investigate whether making the unwind conditional on the terminal being an array would improve perf of NLJ.

            Assignee:
            Irina Yatsenko (Inactive)
            Reporter:
            Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: