ClickHouse/dbms/src/Functions/countEqual.cpp

19 lines
357 B
C++
Raw Normal View History

2018-09-09 20:57:54 +00:00
#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>();
}
}