You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2019/01/04 17:20:00 UTC

[jira] [Resolved] (CALCITE-2471) RelNode description includes all tree when recomputed

     [ https://issues.apache.org/jira/browse/CALCITE-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Sitnikov resolved CALCITE-2471.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.19.0

Fixed in https://gitbox.apache.org/repos/asf?p=calcite.git;a=commit;h=9667f8537010d21556a592bd0dfbf20f7d0a4411

> RelNode description includes all tree when recomputed
> -----------------------------------------------------
>
>                 Key: CALCITE-2471
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2471
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Laurent Goujon
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.19.0
>
>
> The initial AbstractRelNode description is `{{typeName#id}}` but when recomputed, it includes all its inputs (and other attributes).
> When creating the final plan, HepPlanner visits each node bottom up, and recomputes the node digest. This causes node description to grow in size, up to the top node which contains basically a string copy of the whole tree. On large trees, this may consume a non-significant amount of memory.
> See email thread: https://lists.apache.org/thread.html/5e71c9f2b4e83865805841708f53471cfab1b5de673e6f162b68edc9@%3Cdev.calcite.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)