binary
function
October 10, 2023
Applies to: Databricks SQL Databricks Runtime
Casts the value of expr
to BINARY. This function is a synonym for CAST(expr AS BINARY)
. See cast function for details.
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clause更新しました 2025/01/17
binary
function October 10, 2023
Applies to: Databricks SQL Databricks Runtime
Casts the value of expr
to BINARY. This function is a synonym for CAST(expr AS BINARY)
. See cast function for details.
> SELECT binary('Spark SQL');
[53 70 61 72 6B 20 53 51 4C]
> SELECT binary(1984);
[00 00 07 C0]