|
@@ -179,6 +179,21 @@ When casting to datetime type, the supported column type and casting rule are:
|
|
|
|
|
|
Currently, 'zlib', 'gzip', 'flate' and 'zstd' method are supported.
|
|
|
|
|
|
+## Array Functions
|
|
|
+
|
|
|
+| Function | Example | Description |
|
|
|
+|------------|---------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
|
|
|
+| array_position | array_postion(array, value) | Return a 0-based index of the first occurrence of val if it is found within array. If val does not exist within array, it returns -1 |
|
|
|
+| element_at | element_at(array, index) | Returns element of array at index val. If val < 0, this function accesses elements from the last to the first |
|
|
|
+| array_contains | array_contains(array, value) | Returns true if array contains the element |
|
|
|
+| array_create | array_create(value1, ......) | Construct an array from literals |
|
|
|
+
|
|
|
+## Object Functions
|
|
|
+
|
|
|
+| Function | Example | Description |
|
|
|
+|------------|---------------------------|-----------------------------------------------------------------------|
|
|
|
+| keys | keys(map[string]interface{}) | Return an array containing the keys of the map |
|
|
|
+
|
|
|
## Analytic Functions
|
|
|
|
|
|
Analytic functions always use state to do analytic jobs. In streaming processing, analytic functions are evaluated first so that they are not affected by predicates in WHERE clause.
|