You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compute::concat_batches is called, and concat multiple string, it might exceeds i32 batch. Generally if maximum offset exceeds, it should produce error.
thread 'main' panicked at ~/.cargo/git/checkouts/arrow-rs-91ac43a35d506e38/50a2ef3/arrow-array/src/builder/generic_bytes_builder.rs:86:57:
byte array offset overflow
stack backtrace:
0: __rustc::rust_begin_unwind
at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:75:14
2: core::panicking::panic_display
at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:269:5
3: core::option::expect_failed
at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/option.rs:2049:5
4: core::option::Option<T>::expect
at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/option.rs:958:21
5: arrow_array::builder::generic_bytes_builder::GenericByteBuilder<T>::next_offset
at ~/.cargo/git/checkouts/arrow-rs-91ac43a35d506e38/50a2ef3/arrow-array/src/builder/generic_bytes_builder.rs:86:57
6: arrow_array::builder::generic_bytes_builder::GenericByteBuilder<T>::append_array
at ~/.cargo/git/checkouts/arrow-rs-91ac43a35d506e38/50a2ef3/arrow-array/src/builder/generic_bytes_builder.rs:154:17
7: arrow_select::concat::concat_bytes
at ~/.cargo/git/checkouts/arrow-rs-91ac43a35d506e38/50a2ef3/arrow-select/src/concat.rs:239:9
8: arrow_select::concat::concat
at ~/.cargo/git/checkouts/arrow-rs-91ac43a35d506e38/50a2ef3/arrow-select/src/concat.rs:426:27
9: arrow_select::concat::concat_batches
at ~/.cargo/git/checkouts/arrow-rs-91ac43a35d506e38/50a2ef3/arrow-select/src/concat.rs:489:21
However, in some other case, it will leave negative final offset. I'll dive into it
Activity
mapleFU commentedon Aug 29, 2025
Generally, next_offset would check this:
However, in some other case, it will leave negative final offset. I'll dive into it
mapleFU commentedon Aug 29, 2025
This can be reproduced in main branch. A minor fixing patch
builder: Error when concatenating binary arrays would exceed offset s…