Peter Vary created HIVE-17800:
---------------------------------
Summary: input_part6.q wants to test partition pruning, but tests
expression evaluation
Key: HIVE-17800
URL: https://issues.apache.org/jira/browse/HIVE-17800
Project: Hive
Issue Type: Bug
Reporter: Peter Vary
Assignee: Peter Vary
input_part6.q looks like this:
{code}
EXPLAIN
SELECT x.* FROM SRCPART x WHERE x.ds = 2008-04-08 LIMIT 10;
{code}
The intended test most probably is this:
{code}
EXPLAIN
SELECT x.* FROM SRCPART x WHERE x.ds = "2008-04-08" LIMIT 10;
{code}
Currently we evaluete 2008-4-8 to 1996:
{code}
predicate: (UDFToDouble(ds) = 1996.0) (type: boolean)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)