You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Ted Xu (JIRA)" <ji...@apache.org> on 2017/07/10 12:45:00 UTC

[jira] [Created] (CALCITE-1883) HepPlanner should force garbage collect whenever a root registered

Ted Xu created CALCITE-1883:
-------------------------------

             Summary: HepPlanner should force garbage collect whenever a root registered
                 Key: CALCITE-1883
                 URL: https://issues.apache.org/jira/browse/CALCITE-1883
             Project: Calcite
          Issue Type: Bug
            Reporter: Ted Xu
            Assignee: Julian Hyde


Currently HepPlanner#collectGarbage() will skip if there is no new transform since last GC. If HepPlanner is reused, it is common case that no transform is applied after last cheapest plan is built while before next round of optimize is kicked off.

This may break HepPlanner because the garbage is probably not a graph after HepPlanner#buildFinalPlan .

I'll try if I can create a reproduce case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)