xxhash64 function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns a 64-bit hash value of the arguments.

Syntax

xxhash64(expr1 [, ...] )

Arguments

  • exprN: An expression of any type.

Returns

A BIGINT.

Examples

> SELECT xxhash64('Spark', array(123), 2);
 5602566077635097486