1 | #include <Functions/FunctionFactory.h> |
2 | #include <Functions/FunctionsComparison.h> |
3 | |
4 | |
5 | namespace DB |
6 | { |
7 | |
8 | using FunctionGreaterOrEquals = FunctionComparison<GreaterOrEqualsOp, NameGreaterOrEquals>; |
9 | |
10 | void registerFunctionGreaterOrEquals(FunctionFactory & factory) |
11 | { |
12 | factory.registerFunction<FunctionGreaterOrEquals>(); |
13 | } |
14 | |
15 | template <> |
16 | void FunctionComparison<GreaterOrEqualsOp, NameGreaterOrEquals>::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< |
21 | FunctionComparison<GreaterOp, NameGreater>, |
22 | FunctionGreaterOrEquals>(block, result, x, y, tuple_size, input_rows_count); |
23 | } |
24 | |
25 | } |
26 | |