跳转到主要内容

City64WithSeed

Calculates a City64WithSeed 64-bit hash for the string.

Syntax

City64WithSeed(expression1, expression2)

Arguments

ArgumentsDescription
expressionThe string to be hashed.
expressionSeed.

Return Type

A String data type hash value.

Examples

SELECT City64WithSeed('1234567890', 12);
+----------------------------------+
| City64WithSeed('1234567890', 12) |
+----------------------------------+
| 10660895976650300430 |
+----------------------------------+