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

Phabricator commented on HIVE-5047:
-----------------------------------

ashutoshc has requested changes to the revision "HIVE-5047 [jira] Hive client 
filters partitions incorrectly via pushdown in certain cases involving "or"".

  Wondering whether we should go into the function only in cases when its AND ?

INLINE COMMENTS
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java:270 
Isn't the better fix following:
  -  if (udf instanceof GenericUDFOPAnd ||  udf instanceof GenericUDFOPOr )
  + if (udf instanceof GenericUDFOPAnd )

REVISION DETAIL
  https://reviews.facebook.net/D12141

BRANCH
  trunk

ARCANIST PROJECT
  hive

To: JIRA, ashutoshc, sershe

                
> Hive client filters partitions incorrectly via pushdown in certain cases 
> involving "or"
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-5047
>                 URL: https://issues.apache.org/jira/browse/HIVE-5047
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-5047.D12141.1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to