v.21.12Improvements
murmurHash3_128 and sipHash128 now accept arbitrary number of arguments
ThemurmurHash3_128andsipHash128functions now accept an arbitrary number of arguments. This closes #28774. #28965 (小路).
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;