drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-1603) For hive tables partitioned by date, Drill scan all partitions even when there is a filter
Date Sun, 04 Jan 2015 23:57:48 GMT

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

Jacques Nadeau resolved DRILL-1603.
-----------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message