mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
19 lines
357 B
C++
19 lines
357 B
C++
|
#include <Functions/arrayIndex.h>
|
||
|
#include <Functions/FunctionFactory.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
struct NameCountEqual { static constexpr auto name = "countEqual"; };
|
||
|
|
||
|
using FunctionCountEqual = FunctionArrayIndex<IndexCount, NameCountEqual>;
|
||
|
|
||
|
void registerFunctionCountEqual(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionCountEqual>();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|