ClickHouse/src/AggregateFunctions/parseAggregateFunctionParameters.h
2021-11-26 17:54:57 +01:00

24 lines
546 B
C++

#pragma once
#include <Interpreters/Context_fwd.h>
#include <Parsers/ASTExpressionList.h>
#include <Parsers/IAST_fwd.h>
namespace DB
{
Array getAggregateFunctionParametersArray(
const ASTPtr & expression_list,
const std::string & error_context,
ContextPtr context);
void getAggregateFunctionNameAndParametersArray(
const std::string & aggregate_function_name_with_params,
std::string & aggregate_function_name,
Array & aggregate_function_parameters,
const std::string & error_context,
ContextPtr context);
}