2020-06-09 09:47:59 +00:00
|
|
|
#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);
|
2020-06-09 09:47:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|