This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.12 by this push:
     new 8ec883c  [FLINK-20582][docs] Fix typos in "CREATE Statements" page
8ec883c is described below

commit 8ec883cdd781be2c72ec7e89e7d417820ffe405d
Author: V1ncentzzZ <[email protected]>
AuthorDate: Fri Dec 18 20:24:54 2020 +0800

    [FLINK-20582][docs] Fix typos in "CREATE Statements" page
    
    This closes #14370
    
    Co-authored-by: xiaozilong <[email protected]>
---
 docs/dev/table/sql/create.md    | 10 +++++-----
 docs/dev/table/sql/create.zh.md | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/dev/table/sql/create.md b/docs/dev/table/sql/create.md
index 9030aeb..b42f2aa 100644
--- a/docs/dev/table/sql/create.md
+++ b/docs/dev/table/sql/create.md
@@ -377,7 +377,7 @@ Flink provides several commonly used watermark strategies.
 
 {% highlight sql %}
 CREATE TABLE Orders (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time TIMESTAMP(3),
     WATERMARK FOR order_time AS order_time - INTERVAL '5' SECOND
@@ -426,7 +426,7 @@ You can use the clause to reuse (and potentially overwrite) 
certain connector pr
 Consider the example statement below:
 {% highlight sql %}
 CREATE TABLE Orders (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time TIMESTAMP(3)
 ) WITH ( 
@@ -447,7 +447,7 @@ LIKE Orders;
 The resulting table `Orders_with_watermark` will be equivalent to a table 
created with a following statement:
 {% highlight sql %}
 CREATE TABLE Orders_with_watermark (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time TIMESTAMP(3),
     WATERMARK FOR order_time AS order_time - INTERVAL '5' SECOND 
@@ -480,13 +480,13 @@ Example:
 {% highlight sql %}
 -- A source table stored in a filesystem
 CREATE TABLE Orders_in_file (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time_string STRING,
     order_time AS to_timestamp(order_time)
     
 )
-PARTITIONED BY user 
+PARTITIONED BY `user` 
 WITH ( 
     'connector' = 'filesystem'
     'path' = '...'
diff --git a/docs/dev/table/sql/create.zh.md b/docs/dev/table/sql/create.zh.md
index 119ce98..d6d8372 100644
--- a/docs/dev/table/sql/create.zh.md
+++ b/docs/dev/table/sql/create.zh.md
@@ -374,7 +374,7 @@ Flink 提供了几种常用的 watermark 策略。
 
 {% highlight sql %}
 CREATE TABLE Orders (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time TIMESTAMP(3),
     WATERMARK FOR order_time AS order_time - INTERVAL '5' SECOND
@@ -421,7 +421,7 @@ Flink 假设声明了主键的列都是不包含 Null 值的,Connector 在处
 
 {% highlight sql %}
 CREATE TABLE Orders (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time TIMESTAMP(3)
 ) WITH ( 
@@ -443,7 +443,7 @@ LIKE Orders;
 
 {% highlight sql %}
 CREATE TABLE Orders_with_watermark (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time TIMESTAMP(3),
     WATERMARK FOR order_time AS order_time - INTERVAL '5' SECOND 
@@ -476,13 +476,13 @@ CREATE TABLE Orders_with_watermark (
 
 -- 存储在文件系统的源表
 CREATE TABLE Orders_in_file (
-    user BIGINT,
+    `user` BIGINT,
     product STRING,
     order_time_string STRING,
     order_time AS to_timestamp(order_time)
     
 )
-PARTITIONED BY user 
+PARTITIONED BY `user` 
 WITH ( 
     'connector' = 'filesystem'
     'path' = '...'

Reply via email to