v.19.16Improvement
Clickhouse Ignores Values on the Right Side of IN Operator That Are Not Convertible to the Left Side Type
ClickHouse ignores values on the right side of IN operator that are not convertible to the left side type. Make it work properly for compound types – Array and Tuple. #7283 (Alexander Kuzmenkov)
Why it matters
Previously, ClickHouse ignored values on the right side of theIN operator if they were not convertible to the left side's type. This update ensures proper type checking and comparison for compound types such as Array and Tuple, preventing incorrect query results and improving query reliability.How to use it
This feature works transparently and requires no special configuration. Users can simply use theIN operator with Array and Tuple values, and ClickHouse will now handle type conversion checks correctly.