1#pragma once
2
3#include <Core/ColumnNumbers.h>
4#include <Core/Names.h>
5#include <AggregateFunctions/IAggregateFunction.h>
6
7
8namespace DB
9{
10
11struct AggregateDescription
12{
13 AggregateFunctionPtr function;
14 Array parameters; /// Parameters of the (parametric) aggregate function.
15 ColumnNumbers arguments;
16 Names argument_names; /// used if no `arguments` are specified.
17 String column_name; /// What name to use for a column with aggregate function values
18};
19
20using AggregateDescriptions = std::vector<AggregateDescription>;
21
22}
23