1 | #pragma once |
---|---|
2 | |
3 | #include <Core/ColumnNumbers.h> |
4 | #include <Core/Names.h> |
5 | #include <AggregateFunctions/IAggregateFunction.h> |
6 | |
7 | |
8 | namespace DB |
9 | { |
10 | |
11 | struct 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 | |
20 | using AggregateDescriptions = std::vector<AggregateDescription>; |
21 | |
22 | } |
23 |