2017-07-11 17:43:51 +00:00
|
|
|
#pragma once
|
2021-07-02 00:53:08 +00:00
|
|
|
|
2017-07-11 17:43:51 +00:00
|
|
|
#include <Parsers/ASTLiteral.h>
|
|
|
|
#include <Parsers/ASTExpressionList.h>
|
2021-07-02 00:53:08 +00:00
|
|
|
#include <Interpreters/Context_fwd.h>
|
2017-07-11 17:43:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2021-07-02 00:53:08 +00:00
|
|
|
Array getAggregateFunctionParametersArray(
|
|
|
|
const ASTPtr & expression_list,
|
|
|
|
const std::string & error_context,
|
|
|
|
ContextPtr context);
|
2017-07-11 17:43:51 +00:00
|
|
|
|
|
|
|
void getAggregateFunctionNameAndParametersArray(
|
|
|
|
const std::string & aggregate_function_name_with_params,
|
|
|
|
std::string & aggregate_function_name,
|
|
|
|
Array & aggregate_function_parameters,
|
2021-07-02 00:53:08 +00:00
|
|
|
const std::string & error_context,
|
|
|
|
ContextPtr context);
|
2017-07-11 17:43:51 +00:00
|
|
|
|
|
|
|
}
|