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_r314658001
##########
File path: docs/dev/table/connect.md
##########
@@ -652,6 +686,34 @@ connector:
path: "file:///path/to/whatever" # required: path to a file or directory
{% endhighlight %}
</div>
+
+<div data-lang="DDL" markdown="1">
+{% highlight sql %}
+-- CREATE a partitioned CSV table using the CREATE TABLE syntax.
+create table csv_table (
+ user bigint,
+ message string,
+ ts string
+)
+COMMENT 'This is a csv table.'
+PARTITIONED BY(user)
+WITH (
+ 'connector.type' = 'filesystem', -- required: specify to connector type
Review comment:
I think we only need to list `connector.type` and `connector.path` just like
YAML and Java/Scala.
Other properties are not the part of FileSystem.
----------------------------------------------------------------
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