rubenada opened a new pull request #1614: [CALCITE-3546] Improve EnumerableDefaults nested loop join URL: https://github.com/apache/calcite/pull/1614 Jira ticket: [CALCITE-3546](https://issues.apache.org/jira/browse/CALCITE-3546) The current implementation of `EnumerableDefaults#nestedLoopJoin` builds the complete join result in a list before returning it. As specified in a comment there, this is "easy, but hogs memory". Also, it is not very efficient if after the join there is a LIMIT. An alternative implementation of nested loop join can be proposed, based on iterating through the outer an inner enumerables, and returning the results step by step (something similar to `EnumerableDefaults#correlateJoin`).
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
