aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/array/countEqual.cpp
blob: a68042f9dea853450d64144a021612a35d7d0f20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "arrayIndex.h"
#include <Functions/FunctionFactory.h>

namespace DB
{
struct NameCountEqual { static constexpr auto name = "countEqual"; };

using FunctionCountEqual = FunctionArrayIndex<CountEqualAction, NameCountEqual>;

REGISTER_FUNCTION(CountEqual)
{
    factory.registerFunction<FunctionCountEqual>();
}
}