mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
23 lines
554 B
C++
23 lines
554 B
C++
#pragma once
|
|
|
|
#include <Core/ColumnNumbers.h>
|
|
#include <Core/Names.h>
|
|
#include <AggregateFunctions/IAggregateFunction.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct AggregateDescription
|
|
{
|
|
AggregateFunctionPtr function;
|
|
Array parameters; /// Parameters of the (parametric) aggregate function.
|
|
ColumnNumbers arguments;
|
|
Names argument_names; /// used if no `arguments` are specified.
|
|
String column_name; /// What name to use for a column with aggregate function values
|
|
};
|
|
|
|
using AggregateDescriptions = std::vector<AggregateDescription>;
|
|
|
|
}
|