-
Notifications
You must be signed in to change notification settings - Fork 150
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
Design of Serialization/Deserialization #2
Comments
If I'm not mistaken, use the split representation also need to custom implementation for on_disk part. And we should maintain two system: in_memory::type, in_memory::value, on_disk::type, on_disk::value. And we also need to maintain the conversion between in_memory and on_disk. So I think strictly separate two part may cause redundant code. Can we only separate some part🤔? |
I also think that a split representation leads to redundancy which makes maintaining the code more difficult. I personally think that the added complexity of custom implementations of |
I realized that this discussion is closely related to #3 , because it gives additional motivation for splitting the representation into an in_memory and on_disk part. I think @ZENOTME made a good point about splitting only a part of the spec. We could split the representation for all structs that have user interaction (i.e. |
Personally, I prefer the
|
Sounds good for me. |
Ok, let's pick the
Nice idea! |
Close this as we have finished discussion. Feel free to open if needed. |
I would like to have a discussion about how to implement the Serialization/Deserialization of the iceberg metadata. There are currently two different designs each with its pros and cons. The designs are:
Serialize
/Deserialize
(example)I would like to get your opinion which design you prefer.
The text was updated successfully, but these errors were encountered: