v.1.1.54337New Feature
Added Support for Aggregate Functions with Nullable Arguments
Added support for aggregate functions ofNullablearguments even for cases when the function returns a non-Nullableresult (added with the contribution of Silviu Caragea). Example:groupArray,groupUniqArray,topK.
Why it matters
This feature was created to allow aggregate functions to handle Nullable input arguments without losing the ability to return non-Nullable results. Previously, passing Nullable arguments to such functions could lead to errors or unsupported behavior. Now, users can process nullable data seamlessly inside aggregate functions, improving robustness and flexibility in data analysis.How to use it
Use aggregate functions like groupArray, groupUniqArray, or topK directly with Nullable columns as their arguments. The functions will correctly handle Nullable inputs and return results according to their usual non-Nullable types. For example:SELECT groupArray(nullable_column) FROM tableThis will work without requiring explicit NULL handling or casting.