[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-08-10 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-7521:
---

Affects Version/s: 0.14.0

> 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
>  Components: Physical Optimizer
>Affects Versions: 0.14.0
>Reporter: Ted Yu
>Assignee: KangHS
>Priority: Minor
> Fix For: 0.14.0
>
> Attachments: HIVE-7521.patch
>
>
> {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)


[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-08-10 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-7521:
---

Component/s: Physical Optimizer

> 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
>  Components: Physical Optimizer
>Reporter: Ted Yu
>Assignee: KangHS
>Priority: Minor
> Fix For: 0.14.0
>
> Attachments: HIVE-7521.patch
>
>
> {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)


[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-08-10 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-7521:
---

   Resolution: Fixed
Fix Version/s: 0.14.0
   Status: Resolved  (was: Patch Available)

> 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
>  Components: Physical Optimizer
>Reporter: Ted Yu
>Assignee: KangHS
>Priority: Minor
> Fix For: 0.14.0
>
> Attachments: HIVE-7521.patch
>
>
> {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)


[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-08-09 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-7521:
---

Assignee: KangHS

> 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
>Assignee: KangHS
>Priority: Minor
> Attachments: HIVE-7521.patch
>
>
> {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)


[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-08-07 Thread KangHS (JIRA)

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

KangHS updated HIVE-7521:
-

Attachment: HIVE-7521.patch

Change the compared method for Boolean's value.


> 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
> Attachments: HIVE-7521.patch
>
>
> {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)


[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-07-25 Thread Kurmouk (JIRA)

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

Kurmouk updated HIVE-7521:
--

Tags:   (was: dzdez)

> 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)


[jira] [Updated] (HIVE-7521) Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

2014-07-25 Thread Kurmouk (JIRA)

 [ 
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)