You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fp...@apache.org on 2022/03/01 15:29:43 UTC
[flink] branch release-1.14 updated: [hotfix][docs][table] Fix docs for SHA1
This is an automated email from the ASF dual-hosted git repository.
fpaul pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.14 by this push:
new a36c9f7 [hotfix][docs][table] Fix docs for SHA1
a36c9f7 is described below
commit a36c9f79f90210b687a216c88d8e638e0c087ff2
Author: Sergey <sn...@gmail.com>
AuthorDate: Mon Nov 22 18:52:36 2021 +0100
[hotfix][docs][table] Fix docs for SHA1
---
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 bf2577f..38e48fa 100644
--- a/docs/data/sql_functions.yml
+++ b/docs/data/sql_functions.yml
@@ -675,7 +675,7 @@ hashfunctions:
description: Returns the MD5 hash of string as a string of 32 hexadecimal digits; returns NULL if string is NULL.
- sql: SHA1(string)
table: STRING.sha1()
- description: Returns the SHA-224 hash of string as a string of 56 hexadecimal digits; returns NULL if string is NULL.
+ description: Returns the SHA-1 hash of string as a string of 40 hexadecimal digits; returns NULL if string is NULL.
- sql: SHA224(string)
table: STRING.sha224()
description: Returns the SHA-224 hash of string as a string of 56 hexadecimal digits; returns NULL if string is NULL.
diff --git a/docs/data/sql_functions_zh.yml b/docs/data/sql_functions_zh.yml
index a0cf16f..c02a846 100644
--- a/docs/data/sql_functions_zh.yml
+++ b/docs/data/sql_functions_zh.yml
@@ -804,7 +804,7 @@ hashfunctions:
description: 以 32 个十六进制数字的字符串形式返回 string 的 MD5 哈希值;如果字符串为 `NULL`,则返回 `NULL`。
- sql: SHA1(string)
table: STRING.sha1()
- description: 以 56 个十六进制数字的字符串形式返回 string 的 SHA-224 哈希值;如果字符串为 `NULL`,则返回 `NULL`。
+ description: 以 40 个十六进制数字的字符串形式返回 string 的 SHA-1 哈希值;如果字符串为 `NULL`,则返回 `NULL`。
- sql: SHA224(string)
table: STRING.sha224()
description: 以 56 个十六进制数字的字符串形式返回 string 的 SHA-224 哈希值;如果字符串为 `NULL`,则返回 `NULL`。