Skip to content

Commit

Permalink
allow wrap screen that matches slices
Browse files Browse the repository at this point in the history
  • Loading branch information
kunga committed Feb 21, 2024
1 parent 1e812e1 commit a355cd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/core/tablet_flat/test/libs/table/wrap_iter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include "ydb/core/tablet_flat/flat_part_overlay.h"
#include <ydb/core/tablet_flat/flat_table_subset.h>
#include <ydb/core/tablet_flat/flat_iterator.h>
#include <ydb/core/tablet_flat/flat_row_scheme.h>
Expand All @@ -26,7 +27,7 @@ namespace NTest {
for (auto &partView: Flatten) {
Y_ABORT_UNLESS(partView.Part, "Creating TWrapIter without a part");
Y_ABORT_UNLESS(partView.Slices, "Creating TWrapIter without slices");
Y_ABORT_UNLESS(!partView.Screen, "Creating TWrapIter with a screen");
TOverlay{partView.Screen, partView.Slices}.Validate();
parts.push_back(&partView);
}
std::sort(parts.begin(), parts.end(),
Expand Down

0 comments on commit a355cd1

Please sign in to comment.