v.24.3Improvement

Fix has() Function for Nullable Column

Fix has() function with Nullable column (fixes #60214). #61249 (Mikhail Koviazin).
Fixed the has() function to correctly handle Nullable columns.

Why it matters

The fix addresses an issue where the has() function did not work properly with Nullable columns, ensuring accurate checks for the presence of elements in such columns. This improves reliability of queries involving nullable data types.

How to use it

No user action is required other than updating to the fixed version. After updating, you can continue using the has() function with Nullable columns as usual, for example:

SELECT has(nullable_column, some_value) FROM table_name;