This is an automated email from the ASF dual-hosted git repository. luzhijing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 15880bbed85 [docs](fix) Fix IPV4_NUM_TO_STRING of CN version (#588) 15880bbed85 is described below commit 15880bbed8554596b5720b2c58b88313333227b8 Author: KassieZ <139741991+kass...@users.noreply.github.com> AuthorDate: Sat May 4 22:23:12 2024 +0800 [docs](fix) Fix IPV4_NUM_TO_STRING of CN version (#588) --- .../ip-functions/IPV4-NUM-TO-STRING.md | 40 ++++++++++------------ .../ip-functions/ipv4-num-to-string.md | 2 +- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/ip-functions/IPV4-NUM-TO-STRING.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/ip-functions/IPV4-NUM-TO-STRING.md index 2c72b7ee338..59aff9d903c 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/ip-functions/IPV4-NUM-TO-STRING.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/ip-functions/IPV4-NUM-TO-STRING.md @@ -24,19 +24,15 @@ under the License. ## IPV4_NUM_TO_STRING -<version since="dev"> +### description IPV4_NUM_TO_STRING -</version> - -### description - #### Syntax `VARCHAR IPV4_NUM_TO_STRING(BIGINT ipv4_num)` -接受一个类型为Int16、Int32、Int64 且大端表示的 IPv4 的地址,返回相应 IPv4 的字符串表现形式,格式为A.B.C.D(以点分割的十进制数字)。 +接受一个类型为 Int16、Int32、Int64 且大端表示的 IPv4 的地址,返回相应 IPv4 的字符串表现形式,格式为 A.B.C.D(以点分割的十进制数字)。 ### notice @@ -45,24 +41,24 @@ IPV4_NUM_TO_STRING ### example ``` -mysql> select IPV4_NUM_TO_STRING(3232235521); -+-----------------------------+ -| IPV4_NUM_TO_STRING(3232235521) | -+-----------------------------+ -| 192.168.0.1 | -+-----------------------------+ +mysql> select ipv4_num_to_string(3232235521); ++--------------------------------+ +| ipv4_num_to_string(3232235521) | ++--------------------------------+ +| 192.168.0.1 | ++--------------------------------+ 1 row in set (0.01 sec) -mysql> select num,IPV4_NUM_TO_STRING(num) from ipv4_bi; -+------------+------------------------+ -| num | IPV4_NUM_TO_STRING(`num`) | -+------------+------------------------+ -| -1 | NULL | -| 0 | 0.0.0.0 | -| 2130706433 | 127.0.0.1 | -| 4294967295 | 255.255.255.255 | -| 4294967296 | NULL | -+------------+------------------------+ +mysql> select num,ipv4_num_to_string(num) from ipv4_bi; ++------------+---------------------------+ +| num | ipv4_num_to_string(`num`) | ++------------+---------------------------+ +| -1 | NULL | +| 0 | 0.0.0.0 | +| 2130706433 | 127.0.0.1 | +| 4294967295 | 255.255.255.255 | +| 4294967296 | NULL | ++------------+---------------------------+ 7 rows in set (0.01 sec) ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/ip-functions/ipv4-num-to-string.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/ip-functions/ipv4-num-to-string.md index 8a32579e28d..95b0a126d21 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/ip-functions/ipv4-num-to-string.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/ip-functions/ipv4-num-to-string.md @@ -36,7 +36,7 @@ IPV4_NUM_TO_STRING `VARCHAR IPV4_NUM_TO_STRING(BIGINT ipv4_num)` -接受一个类型为Int16、Int32、Int64 且大端表示的 IPv4 的地址,返回相应 IPv4 的字符串表现形式,格式为A.B.C.D(以点分割的十进制数字)。 +接受一个类型为 Int16、Int32、Int64 且大端表示的 IPv4 的地址,返回相应 IPv4 的字符串表现形式,格式为 A.B.C.D(以点分割的十进制数字)。 ### notice --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org