hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KangHS (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7600) ConstantPropagateProcFactory uses reference equality on Boolean
Date Mon, 11 Aug 2014 00:02:12 GMT

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

KangHS commented on HIVE-7600:
------------------------------

Thanks, Ashutosh Chauhan :)

> ConstantPropagateProcFactory uses reference equality on Boolean
> ---------------------------------------------------------------
>
>                 Key: HIVE-7600
>                 URL: https://issues.apache.org/jira/browse/HIVE-7600
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: KangHS
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7600.patch
>
>
> shortcutFunction() has the following code:
> {code}
>           if (c.getValue() == Boolean.FALSE) {
> {code}
> Boolean.FALSE.equals() should be used.
> There're a few other occurrences of using reference equality on Boolean in this class.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message