fn check_interleave_bytes_overflow<T: ByteArrayType>(
batches: &[(usize, RecordBatch)],
col_idx: usize,
indices: &[(usize, usize)],
) -> Result<(), ArrowError>Expand description
Checks whether interleaving the selected rows from byte columns would overflow
i32 offsets. Similar to arrow-rs interleave_bytes(), accumulates offsets and
returns an error if the capacity exceeds i32::MAX.
TODO(yingwen): Remove this after upgrading to arrow >= 58.1.0, which handles
offset overflow in interleave_bytes() natively.