[ 
https://issues.apache.org/jira/browse/HIVE-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711363#action_12711363
 ] 

Namit Jain commented on HIVE-497:
---------------------------------

can we turn on partition pruning by default in the unit tests - new tests are 
getting added all the time, and it might be difficult to catch these bugs.
We can still turn it off in any production cluster till it gets reasonably 
tested.

> predicate pushdown fails if all columns are not selected
> --------------------------------------------------------
>
>                 Key: HIVE-497
>                 URL: https://issues.apache.org/jira/browse/HIVE-497
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.4.0
>
>         Attachments: hive-497.2.patch, hive-497.patch
>
>
> predicate pushdown seems to fail in some scenarios... it is ok if all the 
> columns are selected.
> create table ppda(a string, b string);
> select a from ppda where ppda.a > 10; --> fails
> select b from ppda where ppda.a > 10; --> ok
> select * from ppda where ppda.a > 10; --> ok
> select b from appd where appd.b > 10 and appd.a > 20; --> ok

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to