aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ydb/core/tx/columnshard/engines/portion_info.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/tx/columnshard/engines/portion_info.cpp b/ydb/core/tx/columnshard/engines/portion_info.cpp
index 1bafb4806c..b40b25a634 100644
--- a/ydb/core/tx/columnshard/engines/portion_info.cpp
+++ b/ydb/core/tx/columnshard/engines/portion_info.cpp
@@ -235,7 +235,9 @@ void TPortionInfo::LoadMetadata(const TIndexInfo& indexInfo, const TColumnRecord
// Portion genarated without PrimaryKeyBorders and loaded with indexInfo.IsCompositeIndexKey()
// We should have no such portions for ForceColumnTablesCompositeMarks feature
- Y_VERIFY(Meta.IndexKeyStart && Meta.IndexKeyEnd);
+ if (rec.ColumnId == Meta.FirstPkColumn) {
+ Y_VERIFY(Meta.IndexKeyStart && Meta.IndexKeyEnd);
+ }
}
std::shared_ptr<arrow::Scalar> TPortionInfo::MinValue(ui32 columnId) const {