fallintoplace opened a new pull request, #10174:
URL: https://github.com/apache/arrow-rs/pull/10174

   ### What changed
   
   `RecordBatch::from_pyarrow_bound` now returns a `PyValueError` when a 
PyArrow C array capsule contains a nullable top-level `StructArray`, instead of 
panicking via an internal assertion.
   
   A regression test covers importing a nullable PyArrow struct array through 
the capsule path.
   
   ### Why
   
   This conversion handles external Python input, so unsupported nullable 
struct arrays should surface as Python exceptions rather than aborting through 
a Rust panic.
   
   ### Validation
   
   - `cargo fmt --package arrow-pyarrow`
   - `cargo fmt --manifest-path arrow-pyarrow-testing/Cargo.toml`
   - `cargo test --manifest-path arrow-pyarrow-testing/Cargo.toml 
test_from_pyarrow_nullable_struct_array`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to