mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Remove unneded changes
This commit is contained in:
parent
7808f00857
commit
a9fc07d9af
@ -1465,14 +1465,6 @@ void AlterCommands::validate(const StoragePtr & table, ContextPtr context) const
|
||||
ErrorCodes::BAD_ARGUMENTS,
|
||||
"The change of data type {} of column {} to {} is not allowed. It has known bugs",
|
||||
old_data_type->getName(), backQuote(column_name), command.data_type->getName());
|
||||
|
||||
// bool has_object_type = isObject(command.data_type);
|
||||
// command.data_type->forEachChild([&](const IDataType & type){ has_object_type |= isObject(type); });
|
||||
// if (has_object_type)
|
||||
// throw Exception(
|
||||
// ErrorCodes::BAD_ARGUMENTS,
|
||||
// "The change of data type {} of column {} to {} is not supported.",
|
||||
// old_data_type->getName(), backQuote(column_name), command.data_type->getName());
|
||||
}
|
||||
|
||||
if (command.isRemovingProperty())
|
||||
|
Loading…
Reference in New Issue
Block a user