partitioning pruing should be more intelligent
----------------------------------------------
Key: HIVE-1266
URL: https://issues.apache.org/jira/browse/HIVE-1266
Project: Hadoop Hive
Issue Type: Bug
Components: Query Processor
Reporter: Namit Jain
Assignee: He Yongqiang
Copying the mail from Adam:
A badly written query:
select .. from T where partitioning_colmn = 'p1' AND c1 = 100 or c2 = 200
...is a command I just foolishly ran: I should have put the disjunction in
parentheses.
But the command actually touched every partition of T without a warning. Is
that a bug? When we force people to state a partition predicate, it seems we
are just looking for it to be referenced in the WHERE or ON clause, when maybe
we should be looking at conjuncts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.