You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2020/03/26 22:23:00 UTC

[jira] [Updated] (CALCITE-3879) Rel Id should be generated per query context instead of globally

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

Haisheng Yuan updated CALCITE-3879:
-----------------------------------
    Summary: Rel Id should be generated per query context instead of globally  (was: Rel Id should be generated per query context)

> Rel Id should be generated per query context instead of globally
> ----------------------------------------------------------------
>
>                 Key: CALCITE-3879
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3879
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Haisheng Yuan
>            Priority: Major
>
> The rel id will continue increasing until the class is unloaded. We have observed that the id is reaching 100 million after running for just several days. Although we don't use the id for calculation, it might be OK for integer overflow, but it doesn't make sense to generate unique id globally, it will hard to read the dumped plan and the rel id in the log, because the rel id is so large. IMO, the id should be generated per query context.



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