-
Notifications
You must be signed in to change notification settings - Fork 60
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
tables containing Set
values are serializable but corresponding deserialized Arrow.Table
s are inaccessible
#75
Comments
Yes, as you've discovered, the Arrow.jl implementation isn't currently very useful for "serialization" of generic objects, but focused on the limited set of types it was originally designed for. I've looked into this and the DataType cases and they're non-trivial with how the code is currently structured, but it should be much nicer if people want to "hook in" to using Arrow.jl for generic serialization. The biggest thing is making the ArrowTypes module much cleaner in terms of the contracts for the various types: what's required and then making sure hte implementation only relies on those contracts. Then people can overload the necessary methods and everything will just work, similar to the StructTypes.jl system. let me look at the NamedTuple issue and see if it's lower hanging fruit |
Ha, yeah - I was actually surprised that I'd consider it a win if the error could be moved to serialization time (and try to prevent non-deserializable content from being serialized in the first place as a general rule) |
I'm going to add support for this in #156 |
* Start work on overhauling type serialization architecture * More work; serialization is pretty much done but not tested * fix timetype ArrowTypes definitions * more work to get tests passing * get tests passing? * fix * Fix #75 by supporting Set serialization/deserialization * Fix #85 by supporting tuple serialization/deserialization * Lots of cleanup * few more fixes * Update src/arrowtypes.jl Co-authored-by: Jarrett Revels <[email protected]> * Update src/arrowtypes.jl Co-authored-by: Jarrett Revels <[email protected]> * fix NullKind reading * Fix #134 by requiring concrete or union of concrete element types for all columns when serializing * Add new ArrowTypes.arrowmetadata method for providing additional extension type metadata htat can be used in JuliaType * Update manual * tests Co-authored-by: Jarrett Revels <[email protected]>
* Start work on overhauling type serialization architecture * More work; serialization is pretty much done but not tested * fix timetype ArrowTypes definitions * more work to get tests passing * get tests passing? * fix * Fix apache#75 by supporting Set serialization/deserialization * Fix apache#85 by supporting tuple serialization/deserialization * Lots of cleanup * few more fixes * Update src/arrowtypes.jl Co-authored-by: Jarrett Revels <[email protected]> * Update src/arrowtypes.jl Co-authored-by: Jarrett Revels <[email protected]> * fix NullKind reading * Fix apache#134 by requiring concrete or union of concrete element types for all columns when serializing * Add new ArrowTypes.arrowmetadata method for providing additional extension type metadata htat can be used in JuliaType * Update manual * tests Co-authored-by: Jarrett Revels <[email protected]>
Running on 32560d3:
The text was updated successfully, but these errors were encountered: