ClickHouse/src/Interpreters/AggregateDescription.h

23 lines
554 B
C++
Raw Normal View History

#pragma once
#include <Core/ColumnNumbers.h>
#include <Core/Names.h>
#include <AggregateFunctions/IAggregateFunction.h>
namespace DB
{
struct AggregateDescription
{
AggregateFunctionPtr function;
2017-06-02 21:37:28 +00:00
Array parameters; /// Parameters of the (parametric) aggregate function.
ColumnNumbers arguments;
2017-06-02 21:37:28 +00:00
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>;
}