[jira] [Updated] (HIVE-21308) Negative forms of variables are not supported in HPL/SQL

2019-02-22 Thread Daniel Dai (JIRA)


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

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

+1. Patch pushed to master. Thanks Baoning!

> Negative forms of variables are not supported in HPL/SQL
> 
>
> Key: HIVE-21308
> URL: https://issues.apache.org/jira/browse/HIVE-21308
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Reporter: Baoning He
>Assignee: Baoning He
>Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-21308.1.patch
>
>
> In the following HPL/SQL programs:
> declare num = 1; print -num;
> The expected result should be '-1',but it print '1' .



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


[jira] [Updated] (HIVE-21308) Negative forms of variables are not supported in HPL/SQL

2019-02-21 Thread Baoning He (JIRA)


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

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

> Negative forms of variables are not supported in HPL/SQL
> 
>
> Key: HIVE-21308
> URL: https://issues.apache.org/jira/browse/HIVE-21308
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Reporter: Baoning He
>Assignee: Baoning He
>Priority: Major
> Attachments: HIVE-21308.1.patch
>
>
> In the following HPL/SQL programs:
> declare num = 1; print -num;
> The expected result should be '-1',but it print '1' .



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