This is an automated email from the ASF dual-hosted git repository. wanghailin pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push: new 9106a83cf0 [Improve][Doc] Adjust description of trim series sql function (#9143) 9106a83cf0 is described below commit 9106a83cf07c7a8850a251d908b4996a24f3e986 Author: Jia Fan <fanjiaemi...@qq.com> AuthorDate: Fri Apr 11 10:37:06 2025 +0800 [Improve][Doc] Adjust description of trim series sql function (#9143) --- docs/en/transform-v2/sql-functions.md | 10 ++-------- docs/zh/transform-v2/sql-functions.md | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/docs/en/transform-v2/sql-functions.md b/docs/en/transform-v2/sql-functions.md index a0170d27ca..b406d0d3d3 100644 --- a/docs/en/transform-v2/sql-functions.md +++ b/docs/en/transform-v2/sql-functions.md @@ -186,8 +186,6 @@ RPAD(TEXT, 10, '-') Removes all leading spaces or other specified characters from a string. -This function is deprecated, use TRIM instead of it. - Example: LTRIM(NAME) @@ -198,8 +196,6 @@ LTRIM(NAME) Removes all trailing spaces or other specified characters from a string. -This function is deprecated, use TRIM instead of it. - Example: RTRIM(NAME) @@ -208,13 +204,11 @@ RTRIM(NAME) ```TRIM(string[, characterToTrimString])``` -Removes all leading spaces or other specified characters from a string. - -This function is deprecated, use TRIM instead of it. +Removes all leading spaces and trailing spaces or other specified characters from a string. Example: -LTRIM(NAME) +TRIM(NAME) ### REGEXP_REPLACE diff --git a/docs/zh/transform-v2/sql-functions.md b/docs/zh/transform-v2/sql-functions.md index 55bdf210f2..02e3dc8e7d 100644 --- a/docs/zh/transform-v2/sql-functions.md +++ b/docs/zh/transform-v2/sql-functions.md @@ -186,8 +186,6 @@ RPAD(TEXT, 10, '-') 移除字符串中所有前导空格或其他指定的字符。 -此函数已被弃用,请使用 TRIM 替代。 - 示例: LTRIM(NAME) @@ -198,8 +196,6 @@ LTRIM(NAME) 移除字符串中所有尾随空格或其他指定的字符。 -此函数已被弃用,请使用 TRIM 替代。 - 示例: RTRIM(NAME) @@ -208,13 +204,11 @@ RTRIM(NAME) ```TRIM(string[, characterToTrimString])``` -移除字符串中所有前导空格或其他指定的字符。 - -此函数已被弃用,请使用 TRIM 替代。 +移除字符串中所有前导空格和尾随空格或其他指定的字符。 示例: -LTRIM(NAME) +TRIM(NAME) ### REGEXP_REPLACE