jiefei30 commented on code in PR #25982:
URL: https://github.com/apache/flink/pull/25982#discussion_r1914711243


##########
docs/content.zh/docs/dev/table/sql/create.md:
##########
@@ -149,15 +149,15 @@ Flink SQL> INSERT INTO RubberOrders SELECT product, 
amount FROM Orders WHERE pro
 ##  CREATE TABLE
 
 ```text
-CREATE TABLE [IF NOT EXISTS] [catalog_name.][db_name.]table_name
+CREATE [TEMPORARY] TABLE [IF NOT EXISTS] [catalog_name.][db_name.]table_name
   (
     { <physical_column_definition> | <metadata_column_definition> | 
<computed_column_definition> }[ , ...n]
     [ <watermark_definition> ]
     [ <table_constraint> ][ , ...n]
   )
   [COMMENT table_comment]
-  [PARTITIONED BY (partition_column_name1, partition_column_name2, ...)]
   [ <distribution> ]
+  [PARTITIONED BY (partition_column_name1, partition_column_name2, ...)]

Review Comment:
   I try to parse a sql which `DISTRIBUTION` clause is after `PARTITION` clause 
will failed.And I checked create table in parserImpls.ftl. The `DISTRIBUTION` 
clause was defined before `PARTITION` clause.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to