Rui Wang created CALCITE-4030: --------------------------------- Summary: 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
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)