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)