Skip to content

Commit

Permalink
correct value count
Browse files Browse the repository at this point in the history
  • Loading branch information
bkietz committed Oct 26, 2023
1 parent ce925f6 commit 02d3385
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/arrow/array/concatenate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ class ConcatenateImpl {
if (out_->buffers[0] != nullptr) {
i = in_[0]->length;
VisitNullBitmapInline(
out_->buffers[0]->data(), in_[0]->length, out_->length, out_->null_count,
[&] { ++i; },
out_->buffers[0]->data(), i, out_->length - i, out_->null_count, [&] { ++i; },
[&] {
views[i++] = {}; // overwrite views under null bits with an empty view
});
Expand Down

0 comments on commit 02d3385

Please sign in to comment.