We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 989754c commit 9de5577Copy full SHA for 9de5577
cpp/arcticdb/pipeline/read_frame.cpp
@@ -767,6 +767,7 @@ class NullValueReducer {
767
// Fills up all validity bitmaps with zeros from `column_block_idx_` until reaching `up_to_block_offset`.
768
// If `up_to_block_offset` is `std::nullopt` then fills up until the end of the column.
769
const auto& block_offsets = column_.block_offsets();
770
+ util::check(!up_to_block_offset.has_value() || up_to_block_offset.value() <= block_offsets.back(), "up_to_block_offset outside of range");
771
for (; column_block_idx_ < block_offsets.size() - 1; ++column_block_idx_) {
772
if (up_to_block_offset.has_value() && block_offsets.at(column_block_idx_) >= up_to_block_offset.value()) {
773
break;
0 commit comments