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

Rahul Challapalli updated DRILL-1603:
-------------------------------------
    Attachment: hive.ddl
                explain_plan.txt
                lineitemaa.tbl
                lineitemab.tbl

> For hive tables partitioned by date, Drill scan all partitions even when 
> there is a filter
> ------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1603
>                 URL: https://issues.apache.org/jira/browse/DRILL-1603
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>    Affects Versions: 0.7.0
>            Reporter: Rahul Challapalli
>         Attachments: explain_plan.txt, hive.ddl, lineitemaa.tbl, 
> lineitemab.tbl
>
>
> git.commit.id.abbrev=6dca24a
> When we have a hive table whose partition column data type is 'DATE', Drill 
> scans all the partitions even when we apply a filter on the partition column. 
> This does not happen with 'INT' and 'STRING' partition datatypes
> {code}
> explain plan for select l_orderkey from lineitem_text_partitioned_hive_date 
> where dt= date '2014-10-20';
> {code}
> Attached the output of the above query, the hive ddl, and the sample data 
> files used



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to