Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns a hash value of the arguments.
Syntax
hash(expr1, ...)
Arguments
exprN
: An expression of any type.
Returns
An INTEGER.
Examples
> SELECT hash('Spark', array(123), 2);
-1321691492