mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
25 lines
525 B
C++
25 lines
525 B
C++
#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>>();
|
|
factory.registerAlias("extractAllGroups", VerticalImpl::Name, FunctionFactory::CaseSensitive);
|
|
}
|
|
|
|
}
|