diff --git a/ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp b/ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp index 52f80382171d..69b11dbdab05 100644 --- a/ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp +++ b/ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp @@ -143,16 +143,8 @@ std::optional TReadPortionInfoWithBlobs::SyncP TIndexInfo::TSecondaryData secondaryData; secondaryData.MutableExternalData() = entityChunksNew; for (auto&& i : to->GetIndexInfo().GetIndexes()) { - if (from->GetIndexInfo().HasIndexId(i.first)) { - for (auto&& c : source.PortionInfo.GetIndexes()) { - if (c.GetEntityId() == i.first) { - constructor.AddIndex(c); - } - } - } else { to->GetIndexInfo().AppendIndex(entityChunksNew, i.first, storages, secondaryData).Validate(); } - } const NSplitter::TEntityGroups groups = to->GetIndexInfo().GetEntityGroupsByStorageId(targetTier, *storages); auto schemaTo = std::make_shared(to, std::make_shared());