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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   It seems like all of the C++ functions exposed to Cython in 
[libarrow.pxd](https://github.com/apache/arrow/blob/cd8e6774dd02e1a32325c851c85a931276616cc2/python/pyarrow/includes/libarrow.pxd)
 don't currently catch C++ exceptions. Is that intentional? There are certainly 
cases where libarrow is doing validation of inputs that pyarrow is not, and 
forwarding along an exception would be a much nicer UX than aborting because 
`std::terminate` is called. Here's an example of where we just ran into this in 
cudf with the C data interface APIs: 
https://github.com/rapidsai/cudf/pull/19587/files#r2254218383.
   
   ### 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