Torch Log Service
Function name | Syntax | Description |
Function name | Syntax | Description |
CAST(KEY AS type) | Convert the data type of KEY | |
TRY_CAST(KEY AS type) | Convert the data type of KEY | |
TYPEOF(KEY) | Query the data type of KEY. |
Parameter | Description |
Parameter | Description |
KEY | Field or expression, the value can be of any data type. |
type | SQL data types. Options include bigint, varchar, double, boolean, timestamp, decimal, array, or map. For example, CAST(JSON_PARSE(KEY) AS array(varchar)). |
Parameter | Description |
Parameter | Description |
KEY | Field or expression; the value can be any data type. |
type | SQL data types: supported values are bigint, varchar, double, boolean, timestamp, decimal, array, or map. For example, TRY_CAST(JSON_PARSE(KEY) AS array(varchar)). |
Parameter | Description |
Parameter | Description |
KEY | Log fields and expressions can hold values of any data type |
Index data type | SQL data type |
Index data type | SQL data type |
long | bigint |
text | varchar |
double | double |
json | varchar |