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.
Investigate replacing terminal unwind of foreign key in $lookup with a conditional one
- Assignee:
- Irina Yatsenko (Inactive)
- Reporter:
- Irina Yatsenko (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: