SteNicholas commented on code in PR #547:
URL: https://github.com/apache/flink-table-store/pull/547#discussion_r1117933738


##########
docs/content/docs/how-to/creating-tables.md:
##########
@@ -114,6 +114,126 @@ Partition keys must be a subset of primary keys if 
primary keys are defined.
 By configuring [partition.expiration-time]({{< ref 
"docs/maintenance/manage-partition" >}}), expired partitions can be 
automatically deleted.
 {{< /hint >}}
 
+## Create Table As
+
+Table can be created and populated by the results of a query, for example, we 
have a sql like this: `CREATE TABLE table_b AS SELECT id, name FORM table_a`,
+The resulting table `table_b` will be equivalent to create the table and 
insert the data with the following statement:

Review Comment:
   Adds the NOTE to use `primary-key` and `partition`.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to