You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/01/05 00:57:48 UTC
[jira] [Commented] (DRILL-1603) For hive tables partitioned by
date, Drill scan all partitions even when there is a filter
[ https://issues.apache.org/jira/browse/DRILL-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264099#comment-14264099 ]
Jacques Nadeau commented on DRILL-1603:
---------------------------------------
Fixed in 0.7
> 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)