1#pragma once
2#include <Parsers/ASTLiteral.h>
3#include <Parsers/ASTExpressionList.h>
4
5
6namespace DB
7{
8
9Array getAggregateFunctionParametersArray(const ASTPtr & expression_list, const std::string & error_context = "");
10
11
12void getAggregateFunctionNameAndParametersArray(
13 const std::string & aggregate_function_name_with_params,
14 std::string & aggregate_function_name,
15 Array & aggregate_function_parameters,
16 const std::string & error_context);
17
18}
19