You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2020/01/23 19:56:00 UTC
[jira] [Created] (CALCITE-3755) Ascending rule match with RelSubset
operand doesn't work
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)