summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchertus <[email protected]>2023-06-02 23:33:28 +0300
committerchertus <[email protected]>2023-06-02 23:33:28 +0300
commit5e4b06300de780462487431f71d3d46d674edfce (patch)
tree5e523b936857570f70f96788875f8bcef57bf669
parent635b01977572199634ab3b322adb33995faa61a6 (diff)
fix verify
-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 1bafb4806cf..b40b25a6340 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 {