[jira] [Updated] (HIVE-21113) For HPL/SQL that contains boolean expression with NOT, incorrect SQL may be generated.

2019-01-11 Thread Daniel Dai (JIRA)


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

Daniel Dai updated HIVE-21113:
--
   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 4.0.0
   Status: Resolved  (was: Patch Available)

+1. Patch pushed to master. Thanks for contributing!

> For HPL/SQL that contains boolean expression with NOT,  incorrect SQL may be 
> generated.
> ---
>
> Key: HIVE-21113
> URL: https://issues.apache.org/jira/browse/HIVE-21113
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Reporter: Baoning He
>Assignee: Baoning He
>Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-21113.1.patch
>
>
> In HPL/SQL, ' SELECT * FROM a WHERE NOT (1 = 2) ' will generate to incorrect 
> SQL ' SELECT * FROM a WHERE (1 = 2) ', the 'NOT' in boolean expression is 
> missing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-21113) For HPL/SQL that contains boolean expression with NOT, incorrect SQL may be generated.

2019-01-10 Thread Baoning He (JIRA)


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

Baoning He updated HIVE-21113:
--
Attachment: HIVE-21113.1.patch
Status: Patch Available  (was: Open)

> For HPL/SQL that contains boolean expression with NOT,  incorrect SQL may be 
> generated.
> ---
>
> Key: HIVE-21113
> URL: https://issues.apache.org/jira/browse/HIVE-21113
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Reporter: Baoning He
>Assignee: Baoning He
>Priority: Major
> Attachments: HIVE-21113.1.patch
>
>
> In HPL/SQL, ' SELECT * FROM a WHERE NOT (1 = 2) ' will generate to incorrect 
> SQL ' SELECT * FROM a WHERE (1 = 2) ', the 'NOT' in boolean expression is 
> missing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)