You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DOCS] SQL: Move null handling to arg descriptions (#74255) (#74261)
#74201 documents `null` handling to the arg descriptions of several string functions.
This PR moves pre-existing docs for `null` handling and similar edge case handling for string functions to arg descriptions for consistency.
Relates to #74193
<1> integer expression. If `null` or negative, the function returns `null`.
61
+
<1> integer expression between `0` and `255`. If `null`, negative, or greater
62
+
than `255`, the function returns `null`.
62
63
63
64
*Output*: string
64
65
65
-
*Description*: Returns the character that has the ASCII code value specified by the numeric input. The value should be between 0 and 255; otherwise, the return value is data source–dependent.
66
+
*Description*: Returns the character that has the ASCII code value specified by the numeric input.
<1> string expression. Treats `null` as an empty string.
107
+
<2> string expression. Treats `null` as an empty string.
107
108
108
109
*Output*: string
109
110
110
-
*Description*: Returns a character string that is the result of concatenating `string_exp1` to `string_exp2`. `null` input strings are treated as empty strings.
111
+
*Description*: Returns a character string that is the result of concatenating `string_exp1` to `string_exp2`.
<1> string expression. If `null`, the function returns `null`.
228
+
<2> string expression. If `null`, the function returns `null`.
229
+
<3> integer expression; optional. If `null`, `0`, `1`, negative, or not
230
+
specified, the search starts at the first character position.
229
231
230
232
*Output*: integer
231
233
232
-
*Description*: Returns the starting position of the first occurrence of `pattern` within `source`. The optional `start` specifies the character position to start the search with. The first character position in `source` is indicated by the value 1. Not specifying `start` or specifying it as `null`, any negative value, 0 or 1, starts the search at the first character position. If `pattern` is not found within `source`, the value 0 is returned.
234
+
*Description*: Returns the starting position of the first occurrence of
235
+
`pattern` within `source`. The optional `start` specifies the character position
236
+
to start the search with. If the `pattern` is not found within `source`, the
0 commit comments