ClickHouse/src/Functions/extractAllGroupsHorizontal.cpp
Vasily Nemkov 50a184acac extractAllGroupsHorizontal and extractAllGroupsVertical
Split tests, fixed some error messages

Fixed test and error reporting of extractGroups
2020-06-11 11:03:17 +03:00

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>>();
}
}