Skip to content

Commit

Permalink
Remove unnecessary argument to function call
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Aug 21, 2023
1 parent d82732f commit 2337e8d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cpp/src/arrow/compute/kernels/vector_run_end_selection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -610,10 +610,9 @@ ARROW_NOINLINE Status PreallocateREEData(int64_t physical_length, bool allocate_
ARROW_ASSIGN_OR_RAISE(
auto run_ends_data,
ree_util::PreallocateRunEndsArray(ree_type->run_end_type(), physical_length, pool));
ARROW_ASSIGN_OR_RAISE(auto values_data,
ree_util::PreallocateValuesArray(
ree_type->value_type(), allocate_validity, physical_length,
kUnknownNullCount, pool, data_buffer_size));
ARROW_ASSIGN_OR_RAISE(auto values_data, ree_util::PreallocateValuesArray(
ree_type->value_type(), allocate_validity,
physical_length, pool, data_buffer_size));

// out->length is set after the filter is computed
out->null_count = 0;
Expand Down

0 comments on commit 2337e8d

Please sign in to comment.