bugfix: add impala insert round brackets

This commit is contained in:
HSunboy 2019-12-23 17:09:16 +08:00
parent 3b4b7bdf83
commit 4b7fd37a72
3 changed files with 6 additions and 5 deletions

View File

@ -2,4 +2,5 @@ node_modules
/test/
package-lock.json
.DS_Store
.git
.git
src/

View File

@ -1,6 +1,6 @@
{
"name": "dt-sql-parser",
"version": "2.0.7",
"version": "2.0.9",
"description": "sql,hive,parser ",
"keywords": [
"hive",

View File

@ -382,7 +382,7 @@ ImpalaInsertOrUpsertStatement_EDIT
ImpalaInsertOrUpsertStatementWithoutCTE
: ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions
| ImpalaInsertOrUpsertLeftPart 'VALUES' ImpalaRowValuesLists
| ImpalaInsertOrUpsertLeftPart 'VALUES' '(' ImpalaRowValuesLists ')'
;
ImpalaInsertOrUpsertStatementWithoutCTE_EDIT
@ -400,8 +400,8 @@ ImpalaInsertOrUpsertStatementWithoutCTE_EDIT
| ImpalaInsertOrUpsertLeftPart_EDIT OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions
| ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement_EDIT OptionalUnions
| ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions_EDIT
| ImpalaInsertOrUpsertLeftPart_EDIT 'VALUES' ImpalaRowValuesLists
| ImpalaInsertOrUpsertLeftPart 'VALUES' ImpalaRowValuesLists_EDIT
| ImpalaInsertOrUpsertLeftPart_EDIT 'VALUES' '(' ImpalaRowValuesLists ')'
| ImpalaInsertOrUpsertLeftPart 'VALUES' '(' ImpalaRowValuesLists_EDIT ')'
;
ImpalaInsertOrUpsertLeftPart