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 1ac4895  [hotfix][docs] Improve the filesystem SQL connector doc
1ac4895 is described below

commit 1ac489583aee4e6722c72ab1f39494510222eecf
Author: zhisheng <[email protected]>
AuthorDate: Fri Dec 18 18:21:44 2020 +0800

    [hotfix][docs] Improve the filesystem SQL connector doc
    
    This closes #14365
---
 docs/dev/table/connectors/filesystem.md    | 6 +++---
 docs/dev/table/connectors/filesystem.zh.md | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/dev/table/connectors/filesystem.md 
b/docs/dev/table/connectors/filesystem.md
index 531ee68..5d2f5a2 100644
--- a/docs/dev/table/connectors/filesystem.md
+++ b/docs/dev/table/connectors/filesystem.md
@@ -392,8 +392,8 @@ CREATE TABLE fs_table (
   user_id STRING,
   order_amount DOUBLE,
   dt STRING,
-  hour STRING
-) PARTITIONED BY (dt, hour) WITH (
+  `hour` STRING
+) PARTITIONED BY (dt, `hour`) WITH (
   'connector'='filesystem',
   'path'='...',
   'format'='parquet',
@@ -405,7 +405,7 @@ CREATE TABLE fs_table (
 INSERT INTO fs_table SELECT user_id, order_amount, DATE_FORMAT(log_ts, 
'yyyy-MM-dd'), DATE_FORMAT(log_ts, 'HH') FROM kafka_table;
 
 -- batch sql, select with partition pruning
-SELECT * FROM fs_table WHERE dt='2020-05-20' and hour='12';
+SELECT * FROM fs_table WHERE dt='2020-05-20' and `hour`='12';
 
 {% endhighlight %}
 
diff --git a/docs/dev/table/connectors/filesystem.zh.md 
b/docs/dev/table/connectors/filesystem.zh.md
index f4ffec7..9df9bdf 100644
--- a/docs/dev/table/connectors/filesystem.zh.md
+++ b/docs/dev/table/connectors/filesystem.zh.md
@@ -392,8 +392,8 @@ CREATE TABLE fs_table (
   user_id STRING,
   order_amount DOUBLE,
   dt STRING,
-  hour STRING
-) PARTITIONED BY (dt, hour) WITH (
+  `hour` STRING
+) PARTITIONED BY (dt, `hour`) WITH (
   'connector'='filesystem',
   'path'='...',
   'format'='parquet',
@@ -405,7 +405,7 @@ CREATE TABLE fs_table (
 INSERT INTO fs_table SELECT user_id, order_amount, DATE_FORMAT(log_ts, 
'yyyy-MM-dd'), DATE_FORMAT(log_ts, 'HH') FROM kafka_table;
 
 -- batch sql, select with partition pruning
-SELECT * FROM fs_table WHERE dt='2020-05-20' and hour='12';
+SELECT * FROM fs_table WHERE dt='2020-05-20' and `hour`='12';
 
 {% endhighlight %}
 

Reply via email to