add impala WITH SERDEPROPERTIES syntax
This commit is contained in:
parent
99ba8d0a80
commit
e3cc938cae
@ -1130,7 +1130,7 @@ HiveDelimitedRowFormat_EDIT
|
||||
;
|
||||
|
||||
ImpalaRowFormat
|
||||
: '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy
|
||||
: '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy OptionalWithSerdeproperties
|
||||
{
|
||||
if (!$2 && !$3) {
|
||||
$$ = { suggestKeywords: [{ value: 'FIELDS TERMINATED BY', weight: 2 }, { value: 'LINES TERMINATED BY', weight: 1 }] };
|
||||
@ -1143,8 +1143,8 @@ ImpalaRowFormat
|
||||
;
|
||||
|
||||
ImpalaRowFormat_EDIT
|
||||
: '<impala>DELIMITED' OptionalFieldsTerminatedBy_EDIT OptionalLinesTerminatedBy
|
||||
| '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy_EDIT
|
||||
: '<impala>DELIMITED' OptionalFieldsTerminatedBy_EDIT OptionalLinesTerminatedBy OptionalWithSerdeproperties
|
||||
| '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy_EDIT OptionalWithSerdeproperties
|
||||
;
|
||||
|
||||
OptionalFieldsTerminatedBy
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user