You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/09/30 16:25:34 UTC

[jira] [Commented] (HIVE-8285) Reference equality is used on boolean values in PartitionPruner#removeTruePredciates()

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

Ted Yu commented on HIVE-8285:
------------------------------

+1

> 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
>    Affects Versions: 0.14.0
>            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)