Scalar Functions
Other functions
Miscellaneous scalar functions
Arroyo’s Scalar function implementations are based on Apache DataFusion and these docs are derived from the DataFusion function reference.
arrow_cast
Casts a value to a specific Arrow data type:
Arguments
- expression: Expression to cast. Can be a constant, column, or function, and any combination of arithmetic or string operators.
- datatype: Arrow data type name
to cast to, as a string. The format is the same as that returned by [
arrow_typeof
]
Example
arrow_typeof
Returns the name of the underlying Arrow data type of the expression:
Arguments
- expression: Expression to evaluate. Can be a constant, column, or function, and any combination of arithmetic or string operators.
Example