You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2014/04/28 00:02:14 UTC

[jira] [Updated] (DRILL-580) Drill logical or physical rules should not specify child operand

     [ https://issues.apache.org/jira/browse/DRILL-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jinfeng Ni updated DRILL-580:
-----------------------------

    Attachment: DRILL-580.1.patch

> Drill logical or physical rules should not specify child operand
> ----------------------------------------------------------------
>
>                 Key: DRILL-580
>                 URL: https://issues.apache.org/jira/browse/DRILL-580
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jinfeng Ni
>            Assignee: Jinfeng Ni
>         Attachments: DRILL-580.1.patch
>
>
> Most of Drill logical and physical rules (implements RelOptRule) are essentially conversion rules.  For conversion rule, it's not required to specify the child operand in the rule's pattern matching expression. However, currently, Drill logical or physical rules specify the child operand. This will cause unnecessary rule firing during optiq transformation call, causing more planning time. 
> In stead, for conversion rule in Drill logical/physical phases, it would be sufficient enough to specify the parent operand.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)