You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2014/10/29 18:58:35 UTC
[jira] [Created] (DRILL-1603) For hive tables partitioned by date,
Drill scan all partitions even when there is a filter
Rahul Challapalli created DRILL-1603:
----------------------------------------
Summary: 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
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)