File tree 4 files changed +2294
-2265
lines changed
test/parser/hive/syntax/fixtures
4 files changed +2294
-2265
lines changed Original file line number Diff line number Diff line change @@ -1634,16 +1634,16 @@ Rules for parsing createtable
1634
1634
*/
1635
1635
createTableStatement
1636
1636
: KW_CREATE temp=KW_TEMPORARY ? trans=KW_TRANSACTIONAL ? ext=KW_EXTERNAL ? KW_TABLE ifNotExists? name=tableNameCreate (
1637
- likeTableOrFile createTablePartitionSpec? tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed?
1638
- | (LPAREN columnNameTypeOrConstraintList RPAREN )? tableComment? tableLifecycle? createTablePartitionSpec? tableBuckets? tableSkewed?
1639
- tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? (
1637
+ likeTableOrFile createTablePartitionSpec? tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle?
1638
+ | (LPAREN columnNameTypeOrConstraintList RPAREN )? tableComment? createTablePartitionSpec? tableBuckets? tableSkewed? tableRowFormat ?
1639
+ tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle ? (
1640
1640
KW_AS selectStatementWithCTE
1641
1641
)?
1642
1642
)
1643
1643
| KW_CREATE mgd=KW_MANAGED KW_TABLE ifNotExists? name=tableNameCreate (
1644
- likeTableOrFile tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed?
1645
- | (LPAREN columnNameTypeOrConstraintList RPAREN )? tableComment? tableLifecycle? createTablePartitionSpec? tableBuckets? tableSkewed?
1646
- tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? (
1644
+ likeTableOrFile tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle?
1645
+ | (LPAREN columnNameTypeOrConstraintList RPAREN )? tableComment? createTablePartitionSpec? tableBuckets? tableSkewed? tableRowFormat ?
1646
+ tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle ? (
1647
1647
KW_AS selectStatementWithCTE
1648
1648
)?
1649
1649
)
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments