add impala WITH SERDEPROPERTIES syntax
This commit is contained in:
parent
99ba8d0a80
commit
e3cc938cae
@ -1130,7 +1130,7 @@ HiveDelimitedRowFormat_EDIT
|
|||||||
;
|
;
|
||||||
|
|
||||||
ImpalaRowFormat
|
ImpalaRowFormat
|
||||||
: '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy
|
: '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy OptionalWithSerdeproperties
|
||||||
{
|
{
|
||||||
if (!$2 && !$3) {
|
if (!$2 && !$3) {
|
||||||
$$ = { suggestKeywords: [{ value: 'FIELDS TERMINATED BY', weight: 2 }, { value: 'LINES TERMINATED BY', weight: 1 }] };
|
$$ = { suggestKeywords: [{ value: 'FIELDS TERMINATED BY', weight: 2 }, { value: 'LINES TERMINATED BY', weight: 1 }] };
|
||||||
@ -1143,8 +1143,8 @@ ImpalaRowFormat
|
|||||||
;
|
;
|
||||||
|
|
||||||
ImpalaRowFormat_EDIT
|
ImpalaRowFormat_EDIT
|
||||||
: '<impala>DELIMITED' OptionalFieldsTerminatedBy_EDIT OptionalLinesTerminatedBy
|
: '<impala>DELIMITED' OptionalFieldsTerminatedBy_EDIT OptionalLinesTerminatedBy OptionalWithSerdeproperties
|
||||||
| '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy_EDIT
|
| '<impala>DELIMITED' OptionalFieldsTerminatedBy OptionalLinesTerminatedBy_EDIT OptionalWithSerdeproperties
|
||||||
;
|
;
|
||||||
|
|
||||||
OptionalFieldsTerminatedBy
|
OptionalFieldsTerminatedBy
|
||||||
|
@ -382,7 +382,7 @@ ImpalaInsertOrUpsertStatement_EDIT
|
|||||||
|
|
||||||
ImpalaInsertOrUpsertStatementWithoutCTE
|
ImpalaInsertOrUpsertStatementWithoutCTE
|
||||||
: ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions
|
: ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions
|
||||||
| ImpalaInsertOrUpsertLeftPart 'VALUES' '(' ImpalaRowValuesLists ')'
|
| ImpalaInsertOrUpsertLeftPart 'VALUES' ImpalaRowValuesLists
|
||||||
;
|
;
|
||||||
|
|
||||||
ImpalaInsertOrUpsertStatementWithoutCTE_EDIT
|
ImpalaInsertOrUpsertStatementWithoutCTE_EDIT
|
||||||
@ -400,8 +400,8 @@ ImpalaInsertOrUpsertStatementWithoutCTE_EDIT
|
|||||||
| ImpalaInsertOrUpsertLeftPart_EDIT OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions
|
| ImpalaInsertOrUpsertLeftPart_EDIT OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions
|
||||||
| ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement_EDIT OptionalUnions
|
| ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement_EDIT OptionalUnions
|
||||||
| ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions_EDIT
|
| ImpalaInsertOrUpsertLeftPart OptionalImpalaShuffleOrNoShuffle SelectStatement OptionalUnions_EDIT
|
||||||
| ImpalaInsertOrUpsertLeftPart_EDIT 'VALUES' '(' ImpalaRowValuesLists ')'
|
| ImpalaInsertOrUpsertLeftPart_EDIT 'VALUES' ImpalaRowValuesLists
|
||||||
| ImpalaInsertOrUpsertLeftPart 'VALUES' '(' ImpalaRowValuesLists_EDIT ')'
|
| ImpalaInsertOrUpsertLeftPart 'VALUES' ImpalaRowValuesLists_EDIT
|
||||||
;
|
;
|
||||||
|
|
||||||
ImpalaInsertOrUpsertLeftPart
|
ImpalaInsertOrUpsertLeftPart
|
||||||
|
Loading…
Reference in New Issue
Block a user