ClickHouse/src/Functions/array/countEqual.cpp

19 lines
347 B
C++
Raw Normal View History

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