mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +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);
|
|
}
|
|
|
|
}
|