v.22.10New Feature

Function javaHash Extended to Handle Integers

The function javaHash has been extended to integers. #41131 (JackyWoo).
The javaHash function in ClickHouse has been extended to support integer data types.

Why it matters

This feature enables users to apply the javaHash hashing function directly on integer values, allowing consistent hashing compatible with Java's implementation, which is useful for data processing, partitioning, and distributed computations involving integer columns.

How to use it

Use the javaHash function with integer columns or integer literals directly in your SQL queries, for example:
sql<br>SELECT javaHash(some_integer_column) FROM table_name<br>