HASH uses the CityHash algorithm for string data types, implementation-specific algorithms for other data types, and the CityHash combinator to produce the resulting hash value. NULL values of any type get the same fixed value. See CITY_HASH if NULL values should produce NULL.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<expression> | An expression that returns any data type that Firebolt supports. | Any |
Return type
BIGINT
Example
-6,509,667,128,195,191,394
7610523868633494549