Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Jan 18, 2024
1 parent 447153c commit fbbcaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/light_array.cc
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ Status ExecBatchBuilder::AppendSelected(const std::shared_ptr<ArrayData>& source
offsets[num_rows_before + i] = sum;
int32_t new_sum_maybe_overflow = 0;
if (ARROW_PREDICT_FALSE(
internal::AddWithOverflow(sum, length, &new_sum_maybe_overflow))) {
arrow::internal::AddWithOverflow(sum, length, &new_sum_maybe_overflow))) {
return Status::Invalid("Overflow detected in ExecBatchBuilder when appending ",
num_rows_before + i + 1, "-th element of length ", length,
" bytes to current length ", sum, " bytes");
Expand Down

0 comments on commit fbbcaa0

Please sign in to comment.