twalthr commented on a change in pull request #9081: [FLINK-13209] Following 
FLINK-12951: Remove TableEnvironment#sql and …
URL: https://github.com/apache/flink/pull/9081#discussion_r302489743
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java
 ##########
 @@ -430,11 +362,51 @@ static TableEnvironment create(EnvironmentSettings 
settings) {
         * }
         * </pre>
         *
-        * @deprecated Use {@link #sql(String)}.
+        * <p>A DDL statement can also execute to create a table:
+        * For example, the below DDL statement would create a CSV table named 
`tbl1`
+        * into the current catalog:
+        * <blockquote><pre>
+        *    create table tbl1(
+        *      a int,
+        *      b bigint,
+        *      c varchar
+        *    ) with (
+        *      connector = 'csv',
+        *      csv.path = 'xxx'
 
 Review comment:
   I agree with Jark. If we show examples, then examples that also work in the 
current version.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to