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

martijnvisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 76d7e1ba8b3 [hotfix][doc] Fix the incorrect description for 
TO_TIMESTAMP function
76d7e1ba8b3 is described below

commit 76d7e1ba8b366a549a34bbc62b79bc682819bcad
Author: jinfeng <[email protected]>
AuthorDate: Fri Mar 31 01:53:37 2023 +0800

    [hotfix][doc] Fix the incorrect description for TO_TIMESTAMP function
---
 docs/data/sql_functions.yml    | 2 +-
 docs/data/sql_functions_zh.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/data/sql_functions.yml b/docs/data/sql_functions.yml
index 5a842a2ac63..471b3bcfea1 100644
--- a/docs/data/sql_functions.yml
+++ b/docs/data/sql_functions.yml
@@ -525,7 +525,7 @@ temporal:
     description: "Converts a epoch seconds or epoch milliseconds to a 
TIMESTAMP_LTZ, the valid precision is 0 or 3, the 0 represents 
TO_TIMESTAMP_LTZ(epochSeconds, 0), the 3 represents 
TO_TIMESTAMP_LTZ(epochMilliseconds, 3)."
   - sql: TO_TIMESTAMP(string1[, string2])
     table: toTimestamp(STRING1[, STRING2])
-    description: "Converts date time string string1 with format string2 (by 
default: 'yyyy-MM-dd HH:mm:ss') under the 'UTC+0' time zone to a timestamp."
+    description: "Converts date time string string1 with format string2 (by 
default: 'yyyy-MM-dd HH:mm:ss') to a timestamp, without time zone."
   - sql: CURRENT_WATERMARK(rowtime)
     description: |
       Returns the current watermark for the given rowtime attribute, or `NULL` 
if no common watermark of all upstream operations is available at the current 
operation in the pipeline.
diff --git a/docs/data/sql_functions_zh.yml b/docs/data/sql_functions_zh.yml
index 2bbb5fe47c2..c3c24d555b2 100644
--- a/docs/data/sql_functions_zh.yml
+++ b/docs/data/sql_functions_zh.yml
@@ -640,7 +640,7 @@ temporal:
       3 代表` TO_TIMESTAMP_LTZ(epochMilliseconds, 3)`。
   - sql: TO_TIMESTAMP(string1[, string2])
     table: toTimestamp(STRING1[, STRING2])
-    description: 将 'UTC+0' 时区下格式为 string2(默认为:'yyyy-MM-dd HH:mm:ss')的字符串 
string1 转换为时间戳。
+    description: 将格式为 string2(默认为:'yyyy-MM-dd HH:mm:ss')的字符串 string1 转换为 
timestamp,不带时区。
   - sql: CURRENT_WATERMARK(rowtime)
     description: |
       返回给定时间列属性 rowtime 的当前水印,如果管道中的当前操作没有可用的上游操作的公共水印时则为 `NULL`。

Reply via email to