hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()
Date Sat, 26 Jul 2014 02:22:38 GMT
Ted Yu created HIVE-7521:
----------------------------

             Summary: Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()
                 Key: HIVE-7521
                 URL: https://issues.apache.org/jira/browse/HIVE-7521
             Project: Hive
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
      ExprNodeConstantDesc c = (ExprNodeConstantDesc) condition;
      if (c.getValue() != Boolean.FALSE) {
        return null;
      }
{code}
equals() should be called instead.



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

Mime
View raw message