ClickHouse/src/Functions/extractAllGroupsVertical.cpp

25 lines
525 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/extractAllGroups.h>
namespace
{
struct VerticalImpl
{
static constexpr auto Kind = DB::ExtractAllGroupsResultKind::VERTICAL;
static constexpr auto Name = "extractAllGroupsVertical";
};
}
namespace DB
{
void registerFunctionExtractAllGroupsVertical(FunctionFactory & factory)
{
factory.registerFunction<FunctionExtractAllGroups<VerticalImpl>>();
2021-02-14 11:09:36 +00:00
factory.registerAlias("extractAllGroups", VerticalImpl::Name, FunctionFactory::CaseSensitive);
}
}