Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

avgMerge

Description

The Merge combinator can be applied to the avg function to produce a final result by combining partial aggregate states.

Example usage

The Merge combinator is closely related to the State combinator. Refer to “avgState example usage” for an example of both avgMerge and avgState.

See also

Navigation