ReferenceSQL language referenceFunctionsBuilt-in functionsAlphabetical list of built-in functionshash functionOn this pagehash function 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 SQL> SELECT hash('Spark', array(123), 2); -1321691492 Related functions crc32 function md5 function sha function sha1 function sha2 function xxhash64 function