wuchong commented on a change in pull request #10481: [FLINK-14824][table] 
Improve schema derivation for formats
URL: https://github.com/apache/flink/pull/10481#discussion_r355174122
 
 

 ##########
 File path: docs/dev/table/connect.md
 ##########
 @@ -1321,12 +1322,12 @@ The CSV format can be used as follows:
 .withFormat(
   new Csv()
 
-    // required: define the schema either by using type information
-    .schema(Type.ROW(...))
-
-    // or use the table's schema
+    // optional: use the table's schema as format schema, this is enabled by 
default
     .deriveSchema()
 
 Review comment:
   I agree to remove deriveSchema, but should still keep 
`.schema(Tyeps.ROW(...))`, because it is not dropped as we discussed.

----------------------------------------------------------------
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