[
https://issues.apache.org/jira/browse/CALCITE-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-1883.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.14.0
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/eb911cb5. Thanks
for sorting out the PR, [~tedxu]!
> 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
> Fix For: 1.14.0
>
>
> 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)