jorisvandenbossche commented on issue #44651:
URL: https://github.com/apache/arrow/issues/44651#issuecomment-2457662797

   I remember that I had this on my (mental) to do list when initially 
implementing support for StringView in Python 
(https://github.com/apache/arrow/pull/39652), but it seems I never got around 
opening an issue or PR for it.
   
   I think we have to either override `from_buffers` in the subclass (as we do 
for some other types), or update the hardcoded check `if type.num_buffers != 
len(buffers)` to address the fact that for string/binary_view types we have a 
variadic number of buffers, so that we can't do this check for those types.
   
   BTW, if you just remove that check for a moment, does your initial example 
then work?


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