vyasr opened a new issue, #47373:
URL: https://github.com/apache/arrow/issues/47373

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Due to #47337, the fact that the bridge code uses arrow macros like 
`ARROW_CHECK_OK`, and limits on how much input validation is done in pyarrow, 
if invalid data is passed into pyarrow via the C Data Interface capsules the 
data is only checked in C++ and ultimately triggers a program abort rather than 
surfacing an exception in Python. Ideally the Python code would prevalidate the 
inputs as much as possible (or the Cython bindings would be modified to surface 
C++ exceptions and libarrow would install a custom failure handler to glog to 
raise exceptions instead of aborting, as proposed in 
https://github.com/apache/arrow/issues/47337#issuecomment-3201974877).
   
   ### Component(s)
   
   Python


-- 
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