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 11, 2023
1 parent 8bececb commit 6f2e851
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 6f2e851

Please sign in to comment.