[
https://issues.apache.org/jira/browse/CALCITE-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119290#comment-17119290
]
Rui Wang edited comment on CALCITE-4030 at 5/29/20, 6:02 AM:
-------------------------------------------------------------
This Jira is opened to keep a tracking for this special assert error. We will
need to investigate the root cause before make top-down optimization as default.
was (Author: amaliujia):
This Jira is opened to keep a tracking for this special assert error. We will
need to investigate the root case before make top-down optimization as default.
> Assert error during top-down optimization with Project/Filter Traits passdown
> and derivation
> ---------------------------------------------------------------------------------------------
>
> Key: CALCITE-4030
> URL: https://issues.apache.org/jira/browse/CALCITE-4030
> Project: Calcite
> Issue Type: Task
> Reporter: Rui Wang
> Priority: Major
>
> For example, with https://github.com/apache/calcite/pull/1985, and enable
> top-down opt by set "calcite.planner.topdown.opt=true" in saffron.properties,
> run test case SortRemoveRuleTest.removeSortOverEnumerableHashJoin, we can see:
> {code:java}
> java.lang.AssertionError
> at
> org.apache.calcite.plan.volcano.OptimizeTask$RelNodeOptTask.execute(OptimizeTask.java:232)
> at
> org.apache.calcite.plan.volcano.VolcanoPlanner.findBestExp(VolcanoPlanner.java:553)
> at
> org.apache.calcite.tools.Programs$RuleSetProgram.run(Programs.java:327)
> at
> org.apache.calcite.prepare.PlannerImpl.transform(PlannerImpl.java:362)
> at
> org.apache.calcite.rel.rules.SortRemoveRuleTest.transform(SortRemoveRuleTest.java:77)
> at
> org.apache.calcite.rel.rules.SortRemoveRuleTest.removeSortOverEnumerableHashJoin(SortRemoveRuleTest.java:102)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)