JingsongLi commented on a change in pull request #10733: 
[FLINK-15446][table][docs] Improve "Connect to External Systems" documentation 
page
URL: https://github.com/apache/flink/pull/10733#discussion_r362377157
 
 

 ##########
 File path: docs/dev/table/connect.md
 ##########
 @@ -426,9 +404,32 @@ For more information about time handling in Flink and 
especially event-time, we
 
 In order to control the event-time behavior for tables, Flink provides 
predefined timestamp extractors and watermark strategies.
 
+Please refer to [CREATE TABLE statements](sql/create.html#create-table) for 
more information about defining time attributes in DDL.
+
 The following timestamp extractors are supported:
 
 <div class="codetabs" markdown="1">
+<div data-lang="DDL" markdown="1">
+{% highlight sql %}
+-- use the existing TIMESTAMP(3) field in schema as the rowtime attribute
+CREATE TABLE MyTable (
+  ts_field TIMESTAMP(3),
+  WATERMARK FOR ts_field AS ...
+) WITH (
+  ...
+)
+
 
 Review comment:
   Do we support `timestampsFromSource`?

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