mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
More conversions
This commit is contained in:
parent
19ab7d484a
commit
1a2ee7929e
@ -1862,11 +1862,6 @@ struct ConvertImpl
|
||||
}
|
||||
}
|
||||
|
||||
if constexpr ((std::is_same_v<FromDataType, DataTypeBFloat16> || std::is_same_v<ToDataType, DataTypeBFloat16>)
|
||||
&& !(std::is_same_v<FromDataType, DataTypeFloat32> || std::is_same_v<ToDataType, DataTypeFloat32>))
|
||||
throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Conversion from {} to {} is not supported",
|
||||
TypeName<typename FromDataType::FieldType>, TypeName<typename ToDataType::FieldType>);
|
||||
|
||||
if constexpr (std::is_same_v<Additions, AccurateOrNullConvertStrategyAdditions>
|
||||
|| std::is_same_v<Additions, AccurateConvertStrategyAdditions>)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user