mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
22 lines
544 B
C++
22 lines
544 B
C++
|
#include "Functions/FunctionFactory.h"
|
||
|
#include "arrayEnumerateRanked.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
class FunctionArrayEnumerateUniqRanked : public FunctionArrayEnumerateRankedExtended<FunctionArrayEnumerateUniqRanked>
|
||
|
{
|
||
|
using Base = FunctionArrayEnumerateRankedExtended<FunctionArrayEnumerateUniqRanked>;
|
||
|
|
||
|
public:
|
||
|
static constexpr auto name = "arrayEnumerateUniqRanked";
|
||
|
using Base::create;
|
||
|
};
|
||
|
|
||
|
void registerFunctionArrayEnumerateUniqRanked(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionArrayEnumerateUniqRanked>();
|
||
|
}
|
||
|
|
||
|
}
|