Introduce basic ClickHouse aggregation engine

What does this MR do and why?

Introduces basic ClickHouse aggregation engine with following features:

  1. count, mean, quantile, rate metric types.
  2. parameterized dimensions and metrics
  3. sorting by dimensions and metrics
  4. formatting for return values

Also this MR:

  1. fixes aggregation engine bug with numeric parameters.

How to set up and validate locally

  1. define an engine. Example
  2. populate data
  3. build aggregation request. Example
  4. execute it with engine.new.execute(request)
  5. assert on results.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #582660

Edited by Pavel Shutsin

Merge request reports

Loading