Skip to content

Add setting "aggregate_functions_null_for_empty" #10273

@alexey-milovidov

Description

@alexey-milovidov

This option will rewrite all aggregate functions in a query, adding -OrNull suffix to them.
This must be implemented via query rewrite (similar to count_distinct_implementation setting) to get consistent results for distributed queries.

Follow-up for #2509.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions