mdayakar commented on code in PR #6204:
URL: https://github.com/apache/hive/pull/6204#discussion_r2556028794
##########
parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g:
##########
@@ -2363,7 +2363,8 @@ columnConstraintType
;
defaultVal
- : constant
+ : (PLUS | MINUS) unsignedNumericLiterals
+ | constant
| function
| castExpression
Review Comment:
It throws `org.apache.hadoop.hive.ql.parse.ParseException` because as per
grammar file `+`/`-` signs are allowed only for `unsignedNumericLiterals` which
includes `Number`,`IntegralLiteral`,`NumberLiteral`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]