sha
function
Applies to: Databricks SQL Databricks Runtime
Returns a sha1
hash value as a hex string of expr
. This function is a synonym for sha1 function.
Syntax
sha(expr)
Arguments
expr
: ABINARY
orSTRING
expression.
Returns
A STRING
.
Examples
> SELECT sha('Spark');
85f5955f4b27a9a4c2aab6ffe5d7189fc298b92c