mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update FunctionBinaryArithmetic.h
This commit is contained in:
parent
0b10612c86
commit
57482de0f0
@ -171,7 +171,7 @@ public:
|
||||
using ResultDataType = Switch<
|
||||
/// Result must be Integer
|
||||
Case<IsOperation<Operation>::int_div || IsOperation<Operation>::int_div_or_zero,
|
||||
std::conditional_t<IsDataTypeNumber<LeftDataType> && IsDataTypeNumber<RightDataType>, DataTypeFromFieldType<typename Op::ResultType>, InvalidType>>,
|
||||
std::conditional_t<IsDataTypeDecimalOrNumber<LeftDataType> && IsDataTypeDecimalOrNumber<RightDataType>, DataTypeFromFieldType<typename Op::ResultType>, InvalidType>>,
|
||||
/// Decimal cases
|
||||
Case<IsDataTypeDecimal<LeftDataType> || IsDataTypeDecimal<RightDataType>, DecimalResultDataType>,
|
||||
Case<
|
||||
|
Loading…
Reference in New Issue
Block a user