This commit is contained in:
Kijin-Seija
2024-08-26 16:59:41 +08:00
parent a5c6d2e1f8
commit ffb575e317
7 changed files with 16633 additions and 16535 deletions

View File

@ -723,13 +723,23 @@ copy_generic_opt_arg_list_item
createstmt
: create_table_clause opt_if_not_exists? table_name_create (
OPEN_PAREN table_column_list? CLOSE_PAREN optinherit? optpartitionspec? table_access_method_clause? optwith? oncommitoption? opttablespace? optdistributed?
OPEN_PAREN table_column_list? CLOSE_PAREN create_table_options*
| KW_OF any_name opttypedtableelementlist? optpartitionspec? table_access_method_clause? optwith? oncommitoption? opttablespace?
| KW_PARTITION KW_OF qualified_name opttypedtableelementlist? partitionboundspec optpartitionspec? table_access_method_clause? optwith?
oncommitoption? opttablespace?
) # columnCreateTable
;
create_table_options
: optinherit
| optpartitionspec
| table_access_method_clause
| optwith
| oncommitoption
| opttablespace
| optdistributed
;
create_table_clause
: KW_CREATE opttemp? KW_WRITABLE? KW_EXTERNAL? KW_TABLE
;