You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2019/12/05 08:15:00 UTC
[jira] [Resolved] (CALCITE-3546) Improve EnumerableDefaults nested
loop join
[ https://issues.apache.org/jira/browse/CALCITE-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruben Q L resolved CALCITE-3546.
--------------------------------
Resolution: Fixed
> Improve EnumerableDefaults nested loop join
> -------------------------------------------
>
> Key: CALCITE-3546
> URL: https://issues.apache.org/jira/browse/CALCITE-3546
> Project: Calcite
> Issue Type: Improvement
> Affects Versions: 1.21.0
> Reporter: Ruben Q L
> Assignee: Ruben Q L
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 4h
> Remaining Estimate: 0h
>
> 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 message was sent by Atlassian Jira
(v8.3.4#803005)