Skip to content

Commit 8aececf

Browse files
fix
1 parent f8e98b5 commit 8aececf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/core/tx/columnshard/engines/column_engine.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ class TVersionedIndex {
327327
return Snapshots.rbegin()->second;
328328
}
329329

330+
bool IsEmpty() const {
331+
return Snapshots.empty();
332+
}
333+
330334
const std::shared_ptr<arrow::Schema>& GetPrimaryKey() const noexcept {
331335
return PrimaryKey;
332336
}

0 commit comments

Comments
 (0)