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