You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2019/11/07 03:23:00 UTC

[jira] [Created] (CALCITE-3480) Special treatment for unordered child policy when trying to match a rule

Liya Fan created CALCITE-3480:
---------------------------------

             Summary: Special treatment for unordered child policy when trying to match a rule
                 Key: CALCITE-3480
                 URL: https://issues.apache.org/jira/browse/CALCITE-3480
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Liya Fan


In VolcanoRuleCall#matchRecurse, when a node's parents are found, it is necessary to check the child is in the right position (ordinal) of the parent's child list. 

However, when the child policy is UNORDERED, the constraint should be relaxed, as the child can be in any position of the parent's child list. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)