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