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/05/06 21:31:20 UTC

[jira] [Updated] (DRILL-631) Trivial project removal with pushdown breaks information schema

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

Jinfeng Ni updated DRILL-631:
-----------------------------

    Attachment: DRILL-631.1.patch

1. Add a new method to interface GroupScan: checkProjPush().  Each group scan will check whether it can support scan with projects.  By default, AbstractGroupScan assumes no support for project pushdown. Each group scan class need override, if it does support project pushdown.

2. DrillPushProjIntoScanRule will call checkProjPush(). If not support, just stop executing the rule.

3. Re-enable 4 rules in Drill logical planing phase: 
      RemoveTrivialProjectRule.INSTANCE,
      PushProjectPastJoinRule.INSTANCE,
      PushProjectPastFilterRule.INSTANCE,
      DrillPushProjIntoScan.INSTANCE




> Trivial project removal with pushdown breaks information schema
> ---------------------------------------------------------------
>
>                 Key: DRILL-631
>                 URL: https://issues.apache.org/jira/browse/DRILL-631
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jacques Nadeau
>            Assignee: Jinfeng Ni
>         Attachments: DRILL-631.1.patch
>
>




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