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

REGISTER_FUNCTION(ArrayEnumerateUniqRanked)
{
    factory.registerFunction<FunctionArrayEnumerateUniqRanked>();
}

}