v.21.1Improvements

murmurHash3_128 and sipHash128 now accept arbitrary number of arguments

The murmurHash3_128 and sipHash128 functions now accept an arbitrary number of arguments. This closes #28774. #28965 (小路).
The murmurHash3_128 and sipHash128 functions have been enhanced to accept an arbitrary number of arguments.

Why it matters

Previously limited to fewer arguments, these hashing functions now support multiple inputs, allowing users to combine several values in a single hash operation. This flexibility simplifies data hashing and improves performance for composite key hashing scenarios.

How to use it

Use the functions by passing any number of arguments within the parentheses. For example:

SELECT murmurHash3_128(col1, col2, col3) FROM table;

or

SELECT sipHash128(val1, val2, val3, val4) FROM table;