Skip to content

Calculates a City64WithSeed 64-bit hash for a string.

func.city64withseed(<expr1>, <expr2>)
func.city64withseed('1234567890', 12)
┌───────────────────────────────────────┐
│ func.city64withseed('1234567890', 12) │
├───────────────────────────────────────┤
10660895976650300430
└───────────────────────────────────────┘
CITY64WITHSEED(<expr1>, <expr2>)
SELECT CITY64WITHSEED('1234567890', 12);
┌──────────────────────────────────┐
│ city64withseed('1234567890', 12) │
├──────────────────────────────────┤
10660895976650300430
└──────────────────────────────────┘