wuchong commented on a change in pull request #9366: [FLINK-13359][docs] Add 
documentation for DDL introduction
URL: https://github.com/apache/flink/pull/9366#discussion_r316100582
 
 

 ##########
 File path: docs/dev/table/sql.md
 ##########
 @@ -1065,8 +1064,119 @@ MATCH_RECOGNIZE (
 
 {% top %}
 
-Data Types
-----------
+## DDL
+
+DDLs are specified with the `sqlUpdate()` method of the `TableEnvironment`. 
The method returns nothing for a success table creation. A `Table` can be 
register into the [Catalog](catalog.html) with a `CREATE TABLE` statement, then 
be referenced in the SQL queries in method `sqlQuery()` of `TableEnvironment`.
 
 Review comment:
   ```suggestion
   DDLs are specified with the `sqlUpdate()` method of the `TableEnvironment`. 
The method returns nothing for a success table creation. A `Table` can be 
register into the [Catalog](catalogs.html) with a `CREATE TABLE` statement, 
then can be referenced in SQL queries in method `sqlQuery()` of 
`TableEnvironment`.
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to