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