1#include <Functions/FunctionFactory.h>
2#include <Functions/FunctionsComparison.h>
3#include <Functions/FunctionsLogical.h>
4
5
6namespace DB
7{
8
9using FunctionEquals = FunctionComparison<EqualsOp, NameEquals>;
10
11void registerFunctionEquals(FunctionFactory & factory)
12{
13 factory.registerFunction<FunctionEquals>();
14}
15
16template <>
17void FunctionComparison<EqualsOp, NameEquals>::executeTupleImpl(Block & block, size_t result, const ColumnsWithTypeAndName & x,
18 const ColumnsWithTypeAndName & y, size_t tuple_size,
19 size_t input_rows_count)
20{
21 return executeTupleEqualityImpl<FunctionEquals, FunctionAnd>(block, result, x, y, tuple_size, input_rows_count);
22}
23
24}
25