Join us at Microsoft Ignite in Chicago, Nov 19-21. Booth 614! ->->

Videos / How to

How to Compute a Running Aggregation in ClickHouse

Rich Raposa Director, Global Learning, ClickHouse

Using aggregate functions in a materialized view in ClickHouse can lead to surprising results if you don't define them properly. The AggregatingMergeTree table engine requires special column types for representing and storing intermediate (running) totals of aggregations like avg, max, min, uniq, count, and all the other aggregate functions in ClickHouse.

Follow us
Twitter imageSlack imageGitHub image
Telegram imageMeetup imageRss image