This is an automated email from the ASF dual-hosted git repository.
xiong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 92cf3ddb21 Site: Reformat CONCAT_WS and REVERSE document
92cf3ddb21 is described below
commit 92cf3ddb21853d065714610d1f027ad7c36e8582
Author: Zhengqiang Duan <[email protected]>
AuthorDate: Tue Dec 3 08:25:58 2024 +0800
Site: Reformat CONCAT_WS and REVERSE document
---
site/_docs/reference.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site/_docs/reference.md b/site/_docs/reference.md
index 4de399ba95..7a2a895025 100644
--- a/site/_docs/reference.md
+++ b/site/_docs/reference.md
@@ -2774,7 +2774,7 @@ In the following:
| m | CONCAT_WS(separator, str1 [, string ]*) | Concatenates one or
more strings, returns null only when separator is null, otherwise treats null
arguments as empty strings
| p | CONCAT_WS(separator, any [, any ]*) | Concatenates all but
the first argument, returns null only when separator is null, otherwise treats
null arguments as empty strings
| q | CONCAT_WS(separator, str1, str2 [, string ]*) | Concatenates two or
more strings, requires at least 3 arguments (up to 254), treats null arguments
as empty strings
-| s | CONCAT_WS(separator [, string | array(string)]*) | Concatenates one or
more strings or arrays. Besides the separator, other arguments can include
strings or string arrays. returns null only when separator is null, treats
other null arguments as empty strings
+| s | CONCAT_WS(separator [, string \| array(string)]*) | Concatenates one or
more strings or arrays. Besides the separator, other arguments can include
strings or string arrays. returns null only when separator is null, treats
other null arguments as empty strings
| m | COMPRESS(string) | Compresses a string
using zlib compression and returns the result as a binary string
| b | CONTAINS_SUBSTR(expression, string [ , json_scope => json_scope_value
]) | Returns whether *string* exists as a substring in *expression*. Optional
*json_scope* argument specifies what scope to search if *expression* is in JSON
format. Returns NULL if a NULL exists in *expression* that does not result in a
match
| q | CONVERT(type, expression [ , style ]) | Equivalent to
`CAST(expression AS type)`; ignores the *style* operand
@@ -2902,7 +2902,7 @@ In the following:
| b | REGEXP_SUBSTR(string, regexp [, position [, occurrence]]) | Synonym for
REGEXP_EXTRACT
| b m p r s | REPEAT(string, integer) | Returns a string
consisting of *string* repeated of *integer* times; returns an empty string if
*integer* is less than 1
| b m | REVERSE(string) | Returns *string* with
the order of the characters reversed
-| s | REVERSE(string | array) | Returns *string* with
the characters in reverse order or array with elements in reverse order
+| s | REVERSE(string \| array) | Returns *string* with
the characters in reverse order or array with elements in reverse order
| b m p r s | RIGHT(string, length) | Returns the rightmost
*length* characters from the *string*
| h m s | string1 RLIKE string2 | Whether *string1*
matches regex pattern *string2* (similar to `LIKE`, but uses Java regex)
| h m s | string1 NOT RLIKE string2 | Whether *string1* does
not match regex pattern *string2* (similar to `NOT LIKE`, but uses Java regex)