diff --git a/src/Storages/MergeTree/MutateTask.cpp b/src/Storages/MergeTree/MutateTask.cpp index 4a68c9917fa..a72b6af9c65 100644 --- a/src/Storages/MergeTree/MutateTask.cpp +++ b/src/Storages/MergeTree/MutateTask.cpp @@ -441,7 +441,7 @@ static std::unordered_map getStreamCounts( for (const auto & column_name : column_names) { - if (auto serialization = data_part->getSerialization(column_name)) + if (auto serialization = data_part->tryGetSerialization(column_name)) { auto callback = [&](const ISerialization::SubstreamPath & substream_path) {