You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this can ever work with the current signature, since you can only pass buffers and not the dictionary itself (which is not included in the buffers). In C++ there is an ArrayData::Make that in addition also takes a dictionary. I think we should add a custom from_buffers on DictionaryArray in cython to use that instead of the base class from_buffers implementation.
From https://stackoverflow.com/questions/69746789/how-to-make-a-pyarrow-dictionaryarray-with-extensiontype-using-from-buffers-us
Trying to create a DictionaryArray with
from_buffers
crashes:I don't know if this can ever work with the current signature, since you can only pass buffers and not the dictionary itself (which is not included in the buffers). In C++ there is an
ArrayData::Make
that in addition also takes a dictionary. I think we should add a customfrom_buffers
on DictionaryArray in cython to use that instead of the base classfrom_buffers
implementation.Reporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Miles Granger / @milesgranger
PRs and other links:
Note: This issue was originally created as ARROW-14495. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: