Skip to content

Commit

Permalink
Update arrow-select/src/concat.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Raz Luvaton <[email protected]>
  • Loading branch information
alamb and rluvaton authored Jan 28, 2025
1 parent e22760e commit 7b0c828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-select/src/concat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fn concat_lists<OffsetSize: OffsetSizeTrait>(
.inspect(|l| {
output_len += l.len();
list_has_nulls |= l.null_count() != 0;
list_has_slices |= l.offsets()[0].as_usize() > 0
list_has_slices |= l.offsets()[0] > OffsetSize::zero()
|| l.offsets().last().unwrap().as_usize() < l.values().len();
})
.collect::<Vec<_>>();
Expand Down

0 comments on commit 7b0c828

Please sign in to comment.