base64
function
Applies to: Databricks SQL
Databricks Runtime
Converts expr
to a base 64 string using RFC2045 Base64 transfer encoding for MIME.
base64(expr)
expr
: A BINARY expression or a STRING which the function will interpret as BINARY.
A STRING.
> SELECT base64('Spark SQL');
U3BhcmsgU1FM