mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
fix
This commit is contained in:
parent
9d5998fd10
commit
0d319c8c61
@ -551,13 +551,13 @@ class FunctionBinaryArithmetic : public IFunction
|
||||
static bool castBothTypes(const IDataType * left, const IDataType * right, F && f)
|
||||
{
|
||||
const bool l = castType(left, [](const auto& c){
|
||||
assert(std::is_same_v<decltype(c), Decimal32>);
|
||||
assert((std::is_same_v<decltype(c), Decimal32>));
|
||||
});
|
||||
|
||||
assert(l);
|
||||
|
||||
const bool r = castType(right, [](const auto& c){
|
||||
assert(std::is_same_v<decltype(c), Float32>);
|
||||
assert((std::is_same_v<decltype(c), Float32>));
|
||||
});
|
||||
|
||||
assert(r);
|
||||
|
Loading…
Reference in New Issue
Block a user