hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-1266) partitioning pruing should be more intelligent
Date Mon, 22 Mar 2010 05:04:27 GMT
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.

View raw message