You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2021/01/13 07:28:15 UTC
[flink] branch release-1.12 updated: [hotfix][doc] Fix default
format in document for temporal function FROM_UNIXTIME(numeric, format)
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 8395553 [hotfix][doc] Fix default format in document for temporal function FROM_UNIXTIME(numeric, format)
8395553 is described below
commit 839555380158f4aa613ef1955c3293bb09690ed1
Author: Leonard Xu <xb...@163.com>
AuthorDate: Wed Jan 13 15:26:46 2021 +0800
[hotfix][doc] Fix default format in document for temporal function FROM_UNIXTIME(numeric, format)
This closes #14617
---
docs/dev/table/functions/systemFunctions.md | 2 +-
docs/dev/table/functions/systemFunctions.zh.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/dev/table/functions/systemFunctions.md b/docs/dev/table/functions/systemFunctions.md
index 398b318..9b54d93 100644
--- a/docs/dev/table/functions/systemFunctions.md
+++ b/docs/dev/table/functions/systemFunctions.md
@@ -3760,7 +3760,7 @@ FROM_UNIXTIME(numeric[, string])
{% endhighlight %}
</td>
<td>
- <p>Returns a representation of the <i>numeric</i> argument as a value in <i>string</i> format (default is 'YYYY-MM-DD hh:mm:ss'). <i>numeric</i> is an internal timestamp value representing seconds since '1970-01-01 00:00:00' UTC, such as produced by the UNIX_TIMESTAMP() function. The return value is expressed in the session time zone (specified in TableConfig).</p>
+ <p>Returns a representation of the <i>numeric</i> argument as a value in <i>string</i> format (default is 'yyyy-MM-dd HH:mm:ss'). <i>numeric</i> is an internal timestamp value representing seconds since '1970-01-01 00:00:00' UTC, such as produced by the UNIX_TIMESTAMP() function. The return value is expressed in the session time zone (specified in TableConfig).</p>
<p>E.g., <code>FROM_UNIXTIME(44)</code> returns '1970-01-01 00:00:44' if in UTC time zone, but returns '1970-01-01 09:00:44' if in 'Asia/Tokyo' time zone.</p>
<p>Only supported in blink planner.</p>
</td>
diff --git a/docs/dev/table/functions/systemFunctions.zh.md b/docs/dev/table/functions/systemFunctions.zh.md
index 6641621..8700491 100644
--- a/docs/dev/table/functions/systemFunctions.zh.md
+++ b/docs/dev/table/functions/systemFunctions.zh.md
@@ -3759,7 +3759,7 @@ FROM_UNIXTIME(numeric[, string])
{% endhighlight %}
</td>
<td>
- <p>Returns a representation of the <i>numeric</i> argument as a value in <i>string</i> format (default is 'YYYY-MM-DD hh:mm:ss'). <i>numeric</i> is an internal timestamp value representing seconds since '1970-01-01 00:00:00' UTC, such as produced by the UNIX_TIMESTAMP() function. The return value is expressed in the session time zone (specified in TableConfig).</p>
+ <p>Returns a representation of the <i>numeric</i> argument as a value in <i>string</i> format (default is 'yyyy-MM-dd HH:mm:ss'). <i>numeric</i> is an internal timestamp value representing seconds since '1970-01-01 00:00:00' UTC, such as produced by the UNIX_TIMESTAMP() function. The return value is expressed in the session time zone (specified in TableConfig).</p>
<p>E.g., <code>FROM_UNIXTIME(44)</code> returns '1970-01-01 00:00:44' if in UTC time zone, but returns '1970-01-01 09:00:44' if in 'Asia/Tokyo' time zone.</p>
<p>Only supported in blink planner.</p>
</td>