mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
Fix test
This commit is contained in:
parent
7396790bd9
commit
7971f62776
@ -1474,7 +1474,7 @@ void MergeTreeData::checkAlterIsPossible(const AlterCommands & commands, const S
|
||||
{
|
||||
throw Exception(
|
||||
"Trying to ALTER RENAME key " + backQuoteIfNeed(command.column_name) + " column which is a part of key expression",
|
||||
ErrorCodes::ILLEGAL_COLUMN);
|
||||
ErrorCodes::ALTER_OF_COLUMN_IS_FORBIDDEN);
|
||||
}
|
||||
}
|
||||
else if (command.isModifyingData(getInMemoryMetadata()))
|
||||
|
Loading…
Reference in New Issue
Block a user