Skip to content

Commit b2fa27c

Browse files
committed
Change return type for unnest and add missing period
1 parent eb79c9b commit b2fa27c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/logs/workspaces/sql_reference.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The following SQL functions are supported. For Window function, see the separate
9292
| `trim(string s)` | string | Removes leading and trailing whitespace from the string. |
9393
| `replace(string s, string from, string to)` | string | Replaces occurrences of a substring within a string with another substring. |
9494
| `substring(string s, int start, int length)` | string | Extracts a substring from a string, starting at a given position and for a specified length. |
95-
| `strpos(string s, string substring)` | integer | Returns the first index position of the substring in a given string, or 0 if there is no match |
95+
| `strpos(string s, string substring)` | integer | Returns the first index position of the substring in a given string, or 0 if there is no match. |
9696
| `split_part(string s, string delimiter, integer index)` | string | Splits the string on the given delimiter and returns the string at the given position counting from one. |
9797
| `extract(unit from timestamp/interval)` | numeric | Extracts a part of a date or time field (such as year or month) from a timestamp or interval. |
9898
| `to_timestamp(string timestamp, string format)` | timestamp | Converts a string to a timestamp according to the given format. |
@@ -103,7 +103,7 @@ The following SQL functions are supported. For Window function, see the separate
103103
| `array_position(array a, typeof_array value)` | integer | Returns the index of the first occurrence of the value found in the array, or null if value is not found. |
104104
| `string_to_array(string s, string delimiter)` | array of strings | Splits the given string into an array of strings using the given delimiter. |
105105
| `array_agg(expression e)` | array of input type | Creates an array by collecting all the input values. |
106-
| `unnest(array a [, array b...])` | type of array | Expands arrays into a set of rows. This form is only allowed in a FROM clause. |
106+
| `unnest(array a [, array b...])` | rows of a [, b...] | Expands arrays into a set of rows. This form is only allowed in a FROM clause. |
107107

108108
{{% collapse-content title="Examples" level="h3" %}}
109109

0 commit comments

Comments
 (0)