aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/extractAllGroupsHorizontal.cpp
blob: d0ed7757384c2ea33f45dc4d8a6fb20678a6dc91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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
{

REGISTER_FUNCTION(ExtractAllGroupsHorizontal)
{
    factory.registerFunction<FunctionExtractAllGroups<HorizontalImpl>>();
}

}