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