Back to Starrocks

xx_hash3_128

docs/en/sql-reference/sql-functions/hash-functions/xx_hash3_128.md

4.1.0891 B
Original Source

xx_hash3_128

Returns the 128-bit xxhash3 hash value of the input string.

Syntax

Haskell
LARGEINT XX_HASH3_128(VARCHAR input, ...)

Examples

Plain
MySQL > select xx_hash3_128(null);
+-------------------+
| xx_hash3_128(NULL) |
+-------------------+
|              NULL |
+-------------------+

MySQL > select xx_hash3_128("hello");
+-----------------------------------------+
| xx_hash3_128('hello')                   |
+-----------------------------------------+
| -98478366302105124680504504609445627880 |
+-----------------------------------------+

MySQL > select xx_hash3_128("hello", "world");
+-----------------------------------------+
| xx_hash3_128('hello', 'world')          |
+-----------------------------------------+
| -45235302294609689438180196264627189905 |
+-----------------------------------------+

keyword

XX_HASH3_128,HASH,xxHash3