rishav394 opened a new pull request, #4367: URL: https://github.com/apache/arrow-adbc/pull/4367
Closes https://github.com/apache/arrow-adbc/issues/4363 ## Fix After `_import_from_c` raises, check if `c_stream.release == NULL`. If so, PyArrow already released the stream - re-raise the original exception directly instead of calling `check_error` on dangling memory. ## Test Added `test_import_invalid_format_raises` - poisons an exported stream's child format with an invalid string, verifies `ArrowInvalid` is raised (not a crash). -- 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]
