/
toLongArray
toLongArray
[ 1 Usage Details ] [ 2 Example ]
Usage Details
LQL
select *, toLongArray(column) as longArrayColumn from tableName
Input Parameters:
column
: An array column
Output:
A column longArrayColumn
which is same as column
but each element in each row casted to long data type.
Example
Input Table: input_table
column |
---|
WrappedArray("3.45", "15") |
WrappedArray("178.90", "-45.78") |
LQL
select *, toLongArray(column) as longArrayColumn from input_table
Ouput:
column | longArrayColumn |
---|---|
WrappedArray("3.45", "15") | WrappedArray(3, 15) |
WrappedArray("178.90", "-45.78") | WrappedArray(178, -45) |
, multiple selections available,
Related content
toIntArray
toIntArray
More like this
toFloatArray
toFloatArray
More like this
toDoubleArray
toDoubleArray
More like this