jorisvandenbossche commented on pull request #12505:
URL: https://github.com/apache/arrow/pull/12505#issuecomment-1049930335


   > I'll defer to @jorisvandenbossche on whether this is the approach we want 
to take (I have no idea what the "ideal" output would be).
   
   This fix is not "ideal" (because it falls back to the storage array, while 
the ExtensionArray subclass could define a custom conversion to pandas / numpy, 
and ideally we would use that, also if the array is nested inside a list or 
struct array), but certainly better than segfaulting. So I think a good short 
term fix.
   
   If an ExtensionArray subclass defines such a custom conversion to numpy or 
pandas, that's defined on the python class, which means that we would need to 
call into python here, making this a whole lot more complicated.
   
   


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