diff --git a/dbms/src/Storages/MergeTree/MergeTreeDataMerger.cpp b/dbms/src/Storages/MergeTree/MergeTreeDataMerger.cpp index b6d9199f1f2..ab26ba4f9b5 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeDataMerger.cpp +++ b/dbms/src/Storages/MergeTree/MergeTreeDataMerger.cpp @@ -316,12 +316,6 @@ MergeTreeData::DataPartPtr MergeTreeDataMerger::mergeParts(const MergeTreeData:: new_data_part->size = to->marksCount(); new_data_part->modification_time = time(0); - if (0 == to->marksCount()) - { - throw Exception("All rows have been deleted while merging from " + parts.front()->name - + " to " + parts.back()->name, ErrorCodes::LOGICAL_ERROR); - } - /// Переименовываем новый кусок, добавляем в набор и убираем исходные куски. auto replaced_parts = data.renameTempPartAndReplace(new_data_part);