This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Buffer Cannot Exceed Existing Length - Pyo3 #538
Labels
bug
Something isn't working
no-changelog
Issues whose changes are covered by a PR and thus should not be shown in the changelog
Issue
Arrow2 will reliably raise assert error 'the offset of the new Buffer cannot exceed the existing length' when attempting to convert multiple Arrow Record Batches through the Rust FFI layer from C. This error will not happy when a chunksize is not set or when only the first batch is used.
Managed to produce this code using Polars for simplicity, but can also be produced using Rust + pyo3.
Scope
Ultimately unsure if this is an issue with the FFI used, Arrow2, or Arrow itself.
MVE - Python via Polars
MVE - Rust via pyo3
Caller in Python
Compilation & Running
Error
Full Backtrace
The text was updated successfully, but these errors were encountered: