Update src/Storages/MergeTree/MergeTreeData.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
alesapin 2023-03-01 11:50:29 +01:00 committed by GitHub
parent 5de8a8e776
commit be5ef666ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4672,7 +4672,7 @@ void MergeTreeData::movePartitionToVolume(const ASTPtr & partition, const String
case MovePartsOutcome::MovesAreCancelled:
throw Exception(ErrorCodes::ABORTED, "Cannot move parts because moves are manually disabled");
case MovePartsOutcome::NothingToMove:
throw Exception(ErrorCodes::NO_SUCH_DATA_PART, "No parts to move found in partition {}", partition_id);
throw Exception(ErrorCodes::NO_SUCH_DATA_PART, "No parts to move are found in partition {}", partition_id);
case MovePartsOutcome::MoveWasPostponedBecauseOfZeroCopy:
throw Exception(ErrorCodes::PART_IS_TEMPORARILY_LOCKED, "Move was not finished, because zero copy mode enabled and someone other moving the same parts right now");
case MovePartsOutcome::PartsMoved: