File tree Expand file tree Collapse file tree
test/parser/hive/syntax/fixtures Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1634,16 +1634,16 @@ Rules for parsing createtable
16341634*/
16351635createTableStatement
16361636 : 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 ? (
16401640 KW_AS selectStatementWithCTE
16411641 )?
16421642 )
16431643 | 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 ? (
16471647 KW_AS selectStatementWithCTE
16481648 )?
16491649 )
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments