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