John Yost created ARROW-6698:
--------------------------------
Summary: Please support Python __slots__
Key: ARROW-6698
URL: https://issues.apache.org/jira/browse/ARROW-6698
Project: Apache Arrow
Issue Type: New Feature
Reporter: John Yost
Hi Everyone,
First of all, well-done! This project is totally awesome.
When I attempted to serialize a Python object that uses __slots__ to minimize
memory requirements I received the following error:
return pyarrow.deserialize(data, serialization_context)
File "pyarrow/serialization.pxi", line 461, in pyarrow.lib.deserialize
File "pyarrow/serialization.pxi", line 424, in pyarrow.lib.deserialize_from
File "pyarrow/serialization.pxi", line 275, in
pyarrow.lib.SerializedPyObject.deserialize
File "pyarrow/serialization.pxi", line 194, in
pyarrow.lib.SerializationContext._deserialize_callback
AttributeError: 'RemoteExecutorObject' object has no attribute '__dict__'
Would it be possible to support __slots__? If not, not a huge deal, but wanted
to at least ask.
Thanks, and thanks again for pyarrow!
--John
--
This message was sent by Atlassian Jira
(v8.3.4#803005)