You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stanilovsky Evgeny (Jira)" <ji...@apache.org> on 2021/07/23 08:59:00 UTC

[jira] [Commented] (IGNITE-13744) Calcite. Use TableSpool for IgniteNestedLoopJoin

    [ https://issues.apache.org/jira/browse/IGNITE-13744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17386098#comment-17386098 ] 

Stanilovsky Evgeny commented on IGNITE-13744:
---------------------------------------------

[~korlov] i rewrite PR take into account you *Spool serialization suggestions, i also fix (Table|Index)Scan costs, seems in ai master it more efficient.

> Calcite. Use TableSpool for IgniteNestedLoopJoin
> ------------------------------------------------
>
>                 Key: IGNITE-13744
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13744
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Taras Ledkov
>            Assignee: Stanilovsky Evgeny
>            Priority: Minor
>              Labels: calcite, calcite2-required, calcite3-required
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Now {{NestedLoopJoinNode}} uses internal buffer to save all rows of the right input.
> We have to do refactoring {{IgniteNestedLoopJoin}} to use rewind of the right input and use TableSpool for not rewindable inputs.
> This refactoring separates implementation the join logic from materialization of the right input if it is needed. In the future we can use disk offload for TableSpool etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)