fix: #290 hive lifecycle (#293)

This commit is contained in:
琉易
2024-04-19 17:19:36 +08:00
committed by GitHub
parent 1a0e2fa77b
commit 37974ca0cb
4 changed files with 2410 additions and 2381 deletions

View File

@ -1634,16 +1634,16 @@ Rules for parsing createtable
*/
createTableStatement
: KW_CREATE temp=KW_TEMPORARY? trans=KW_TRANSACTIONAL? ext=KW_EXTERNAL? KW_TABLE ifNotExists? name=tableNameCreate (
likeTableOrFile createTablePartitionSpec? tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed?
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? tableLifecycle? createTablePartitionSpec? tableBuckets? tableSkewed?
tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? (
likeTableOrFile createTablePartitionSpec? tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle?
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? createTablePartitionSpec? tableBuckets? tableSkewed? tableRowFormat?
tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle? (
KW_AS selectStatementWithCTE
)?
)
| KW_CREATE mgd=KW_MANAGED KW_TABLE ifNotExists? name=tableNameCreate (
likeTableOrFile tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed?
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? tableLifecycle? createTablePartitionSpec? tableBuckets? tableSkewed?
tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? (
likeTableOrFile tableRowFormat? tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle?
| (LPAREN columnNameTypeOrConstraintList RPAREN)? tableComment? createTablePartitionSpec? tableBuckets? tableSkewed? tableRowFormat?
tableFileFormat? tableLocation? tablePropertiesPrefixed? tableLifecycle? (
KW_AS selectStatementWithCTE
)?
)

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff