This commit is contained in:
HSunboy 2018-08-28 19:54:37 +08:00
parent 73286c3209
commit 76f8f5724c
3 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -173,7 +173,7 @@ TableDefinition_EDIT
TableDefinitionRightPart TableDefinitionRightPart
: TableIdentifierAndOptionalColumnSpecification OptionalComment OptionalPartitionedBy OptionalSortBy OptionalClusteredBy OptionalSkewedBy : TableIdentifierAndOptionalColumnSpecification OptionalComment OptionalPartitionedBy OptionalSortBy OptionalClusteredBy OptionalSkewedBy
OptionalStoredAsOrBy OptionalWithSerdeproperties OptionalHdfsLocation OptionalTblproperties OptionalCachedInOrUncached OptionalAsSelectStatement OptionalStoredAsOrBy OptionalHdfsLocation OptionalTblproperties OptionalCachedInOrUncached OptionalAsSelectStatement
; ;
TableDefinitionRightPart_EDIT TableDefinitionRightPart_EDIT
@ -1001,11 +1001,11 @@ OptionalStoredAsOrBy
StoredAsOrBy StoredAsOrBy
: StoredAs : StoredAs
| 'ROW' HiveOrImpalaFormat HiveOrImpalaRowFormat OptionalStoredAs | 'ROW' HiveOrImpalaFormat HiveOrImpalaRowFormat OptionalWithSerdeproperties OptionalStoredAs
{ {
$$ = parser.mergeSuggestKeywords($3, $4) $$ = parser.mergeSuggestKeywords($3, $4)
} }
| '<hive>STORED' 'BY' QuotedValue | '<hive>STORED' 'BY' QuotedValue
{ {
$$ = { storedBy: true } $$ = { storedBy: true }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "dt-sql-parser", "name": "dt-sql-parser",
"version": "1.1.1", "version": "1.1.2",
"description": "sql,hive,parser ", "description": "sql,hive,parser ",
"keywords":["hive","hql","sql","parser"], "keywords":["hive","hql","sql","parser"],
"main": "index.js", "main": "index.js",