Function supports Squarebrackets syntax
This commit is contained in:
parent
77bbf57d28
commit
aebf4e5ec8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3314,9 +3314,14 @@ ArbitraryFunctionName
|
||||
| 'TRUNCATE'
|
||||
;
|
||||
|
||||
OptionalFunctionSquareBracket
|
||||
: HiveOrImpalaLeftSquareBracket ValueExpression HiveOrImpalaRightSquareBracket
|
||||
| HiveOrImpalaLeftSquareBracket HiveOrImpalaRightSquareBracket
|
||||
|
|
||||
;
|
||||
ArbitraryFunctionRightPart
|
||||
: '(' ')'
|
||||
| '(' ValueExpressionList ')' -> { expression: $2 }
|
||||
: '(' ')' OptionalFunctionSquareBracket
|
||||
| '(' ValueExpressionList ')' OptionalFunctionSquareBracket -> { expression: $2 }
|
||||
;
|
||||
|
||||
ArbitraryFunctionRightPart_EDIT
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dt-sql-parser",
|
||||
"version": "1.1.8",
|
||||
"version": "1.1.9",
|
||||
"description": "sql,hive,parser ",
|
||||
"keywords":["hive","hql","sql","parser"],
|
||||
"main": "index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user