CityHash has changed the algorithm after we have added it into ClickHouse.CityHash documentation specifically notes that the user shouldn’t rely on
specific hash values and shouldn’t save it anywhere or use it as a sharding key.But as we exposed this function to the user, we had to fix the version of CityHash (to 1.0.2). And now we guarantee that the behaviour of CityHash functions available in SQL won’t change.— Alexey Milovidov
Also see Introducing CityHash for description and
reasoning behind creation. TL;DR non-cryptographic hash that is faster than MurmurHash, but more complex.