-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java serialization should use Apache Arrow serialization format. #2167
Comments
One day this will hopefully allow interop between Java and Python, although here is going to be some more work involved to actually make that happen (in particular, writing something like pyarrow.serialize for Java). Note that this is currently blocked on https://issues.apache.org/jira/browse/ARROW-1692, any help with that would be appreciated @eric-jj @songqing @imzhenyu @salah-man |
Someone in my team will take the work item. |
Hi @robertnishihara , I have some questions about enabling Arrow serialization for Java worker and hope you can kindly help to input here, thanks in advance!
|
Point 1 is similar to what we did to implement With Python, we don't have an interface for custom classes to extend and instead try to do it automatically (though this doesn't always work). Basically, for a custom class in Python like class Foo:
def __init__(self):
self.a = 1
self.b = 2 we first convert it to a dictionary like Do you think an approach like this could work in Java? It's possible that the natural approach in Java differs here, but something like this might work. For primitive types and maybe some simple objects like arrays/lists/tuples, it may make sense to use the same format that we use in the Python to Arrow code (so that some object serialized from Python may be possible to deserialize from Java). cc @pcmoritz |
cc @wesm @jacques-n |
Hi @robertnishihara , nice to hear your response! |
Automatically closing stale issue. Please re-open if still relevant. |
No description provided.
The text was updated successfully, but these errors were encountered: