mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Rectification of FunctionsComparison [#CLICKHOUSE-2]
This commit is contained in:
parent
f47c30c85b
commit
3a24e636db
@ -17,8 +17,7 @@ void FunctionComparison<EqualsOp, NameEquals>::executeTupleImpl(Block & block, s
|
||||
const ColumnsWithTypeAndName & y, size_t tuple_size,
|
||||
size_t input_rows_count)
|
||||
{
|
||||
return executeTupleEqualityImpl<FunctionComparison<EqualsOp, NameEquals>, FunctionAnd>(block, result, x, y,
|
||||
tuple_size, input_rows_count);
|
||||
return executeTupleEqualityImpl<FunctionEquals, FunctionAnd>(block, result, x, y, tuple_size, input_rows_count);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,9 +17,7 @@ void FunctionComparison<GreaterOp, NameGreater>::executeTupleImpl(Block & block,
|
||||
const ColumnsWithTypeAndName & y, size_t tuple_size,
|
||||
size_t input_rows_count)
|
||||
{
|
||||
return executeTupleLessGreaterImpl<
|
||||
FunctionComparison<GreaterOp, NameGreater>,
|
||||
FunctionComparison<GreaterOp, NameGreater>>(block, result, x, y, tuple_size, input_rows_count);
|
||||
return executeTupleLessGreaterImpl<FunctionGreater, FunctionGreater>(block, result, x, y, tuple_size, input_rows_count);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ void FunctionComparison<GreaterOrEqualsOp, NameGreaterOrEquals>::executeTupleImp
|
||||
{
|
||||
return executeTupleLessGreaterImpl<
|
||||
FunctionComparison<GreaterOp, NameGreater>,
|
||||
FunctionComparison<GreaterOrEqualsOp, NameGreaterOrEquals>>(block, result, x, y, tuple_size, input_rows_count);
|
||||
FunctionGreaterOrEquals>(block, result, x, y, tuple_size, input_rows_count);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,9 +17,7 @@ void FunctionComparison<LessOp, NameLess>::executeTupleImpl(Block & block, size_
|
||||
const ColumnsWithTypeAndName & y, size_t tuple_size,
|
||||
size_t input_rows_count)
|
||||
{
|
||||
return executeTupleLessGreaterImpl<
|
||||
FunctionComparison<LessOp, NameLess>,
|
||||
FunctionComparison<LessOp, NameLess>>(block, result, x, y, tuple_size, input_rows_count);
|
||||
return executeTupleLessGreaterImpl<FunctionLess, FunctionLess>(block, result, x, y, tuple_size, input_rows_count);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ void FunctionComparison<LessOrEqualsOp, NameLessOrEquals>::executeTupleImpl(Bloc
|
||||
{
|
||||
return executeTupleLessGreaterImpl<
|
||||
FunctionComparison<LessOp, NameLess>,
|
||||
FunctionComparison<LessOrEqualsOp, NameLessOrEquals>>(block, result, x, y, tuple_size, input_rows_count);
|
||||
FunctionLessOrEquals>(block, result, x, y, tuple_size, input_rows_count);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,8 +17,7 @@ void FunctionComparison<NotEqualsOp, NameNotEquals>::executeTupleImpl(Block & bl
|
||||
const ColumnsWithTypeAndName & y, size_t tuple_size,
|
||||
size_t input_rows_count)
|
||||
{
|
||||
return executeTupleEqualityImpl<FunctionComparison<NotEqualsOp, NameNotEquals>, FunctionOr>(block, result, x, y,
|
||||
tuple_size, input_rows_count);
|
||||
return executeTupleEqualityImpl<FunctionNotEquals, NameNotEquals>, FunctionOr>(block, result, x, y, tuple_size, input_rows_count);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user