encode
function (Databricks SQL)
Returns the binary representation of a string using the charSet
character encoding.
Arguments
expr
: A STRING expression to be encoded.charSet
: A STRING expression specifying the encoding.