You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kurmouk (JIRA)" <ji...@apache.org> on 2014/07/26 05:56:38 UTC
[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean
in NullScanOptimizer#WhereFalseProcessor#process()
[ https://issues.apache.org/jira/browse/HIVE-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurmouk updated HIVE-7521:
--------------------------
Tags: dzdez
Status: Patch Available (was: Open)
> 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)