1 | #include <Functions/FunctionFactory.h> |
2 | #include <Functions/FunctionsComparison.h> |
3 | #include <Functions/FunctionsLogical.h> |
4 | |
5 | |
6 | namespace DB |
7 | { |
8 | |
9 | using FunctionEquals = FunctionComparison<EqualsOp, NameEquals>; |
10 | |
11 | void registerFunctionEquals(FunctionFactory & factory) |
12 | { |
13 | factory.registerFunction<FunctionEquals>(); |
14 | } |
15 | |
16 | template <> |
17 | void 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 | |