[ 
https://issues.apache.org/jira/browse/HIVE-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sanghyun Yun updated HIVE-8285:
-------------------------------
    Attachment: HIVE-8285.patch

I changed to equals function. Please review, [~tedyu] :)

> Reference equality is used on boolean values in 
> PartitionPruner#removeTruePredciates()
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-8285
>                 URL: https://issues.apache.org/jira/browse/HIVE-8285
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: HIVE-8285.patch
>
>
> {code}
>       if (e.getTypeInfo() == TypeInfoFactory.booleanTypeInfo
>           && eC.getValue() == Boolean.TRUE) {
> {code}
> equals() should be used in the above comparison.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to