mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Fix check data type with converts function
This commit is contained in:
parent
d7ac2b3afd
commit
6ffdcb38a2
@ -1157,7 +1157,7 @@ struct ToIntMonotonicity
|
||||
}
|
||||
|
||||
/// If type is same, too. (Enum has separate case, because it is different data type)
|
||||
if (checkAndGetDataType<DataTypeNumberBase<T>>(&type) ||
|
||||
if (checkAndGetDataType<DataTypeNumber<T>>(&type) ||
|
||||
checkAndGetDataType<DataTypeEnum<T>>(&type))
|
||||
return { true, true, true };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user