Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns a decoded base64 string as binary.
unbase64(expr)
expr
: A STRING expression in a base64 format.
A BINARY.
> SELECT cast(unbase64('U3BhcmsgU1FM') AS STRING);
Spark SQL