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