mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
24 lines
436 B
C++
24 lines
436 B
C++
|
#include <Functions/FunctionFactory.h>
|
||
|
#include <Functions/extractAllGroups.h>
|
||
|
|
||
|
namespace
|
||
|
{
|
||
|
|
||
|
struct HorizontalImpl
|
||
|
{
|
||
|
static constexpr auto Kind = DB::ExtractAllGroupsResultKind::HORIZONTAL;
|
||
|
static constexpr auto Name = "extractAllGroupsHorizontal";
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
void registerFunctionExtractAllGroupsHorizontal(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionExtractAllGroups<HorizontalImpl>>();
|
||
|
}
|
||
|
|
||
|
}
|