hash
function
Applies to: Databricks SQL
Databricks Runtime
Returns a hash value of the arguments.
hash(expr1, ...)
exprN
: An expression of any type.
An INTEGER.
> SELECT hash('Spark', array(123), 2);
-1321691492
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hash
functionApplies to: Databricks SQL
Databricks Runtime
Returns a hash value of the arguments.
hash(expr1, ...)
exprN
: An expression of any type.An INTEGER.
> SELECT hash('Spark', array(123), 2);
-1321691492