Condividi tramite


Funzione hash

Si applica a: segno di spunta sì Databricks SQL segno di spunta sì Databricks Runtime

Restituisce un valore hash degli argomenti.

Sintassi

hash(expr1, ...)

Argomenti

  • exprN: espressione di qualsiasi tipo.

Valori restituiti

An INTEGER.

Esempi

> SELECT hash('Spark', array(123), 2);
 -1321691492