ClickHouse/src/Planner/PlannerAggregation.h

18 lines
443 B
C++
Raw Normal View History

2022-09-03 12:11:09 +00:00
#pragma once
#include <Analyzer/IQueryTreeNode.h>
2022-09-05 10:24:54 +00:00
#include <Analyzer/FunctionNode.h>
2022-09-03 12:11:09 +00:00
#include <Planner/PlannerContext.h>
2022-09-05 10:24:54 +00:00
#include <Planner/PlannerActionsVisitor.h>
2022-09-03 12:11:09 +00:00
#include <Processors/QueryPlan/AggregatingStep.h>
namespace DB
{
2022-09-05 10:24:54 +00:00
/// Extract aggregate descriptions from aggregate function nodes
AggregateDescriptions extractAggregateDescriptions(const QueryTreeNodes & aggregate_function_nodes, const PlannerContext & planner_context);
2022-09-03 12:11:09 +00:00
}