mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Update Set.cpp
This commit is contained in:
parent
98a358db10
commit
ca5faf14ca
@ -440,7 +440,7 @@ ColumnPtr Set::execute(const ColumnsWithTypeAndName & columns, bool negative) co
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the original column is DateTime64, check for sub-second precision
|
// If the original column is DateTime64, check for sub-second precision
|
||||||
if (isDateTime64(column_to_cast.column->getDataType()) && !isDateTime64(result->getDataType()))
|
if (isDateTime64(column_to_cast.column->getDataType()) && isDateTime64(result->getDataType()))
|
||||||
{
|
{
|
||||||
processDateTime64Column(column_to_cast, result, null_map_holder, null_map);
|
processDateTime64Column(column_to_cast, result, null_map_holder, null_map);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user