Haisheng Yuan created CALCITE-3755: -------------------------------------- Summary: Ascending rule match with RelSubset operand doesn't work Key: CALCITE-3755 URL: https://issues.apache.org/jira/browse/CALCITE-3755 Project: Calcite Issue Type: Bug Components: core Reporter: Haisheng Yuan
Given a rule with match pattern {{operand(Filter, operand(RelSubset))}}, when we add a new RelSubset into the set, planner will fire rules for RelSubset. But in {{VolcanoRuleCall.matchRecurse}}, if !inputRels.contains(previous), it will skip. Obviously, the input rels will never contain a RelSubset, hence fails to match the rule. -- This message was sent by Atlassian Jira (v8.3.4#803005)