mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Revert #27787
This commit is contained in:
parent
c8c96ecca3
commit
c1cc04d44d
@ -755,9 +755,9 @@ bool isMetadataOnlyConversion(const IDataType * from, const IDataType * to)
|
||||
|
||||
const auto * nullable_from = typeid_cast<const DataTypeNullable *>(from);
|
||||
const auto * nullable_to = typeid_cast<const DataTypeNullable *>(to);
|
||||
if (nullable_to)
|
||||
if (nullable_from && nullable_to)
|
||||
{
|
||||
from = nullable_from ? nullable_from->getNestedType().get() : from;
|
||||
from = nullable_from->getNestedType().get();
|
||||
to = nullable_to->getNestedType().get();
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user