Skip to content
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

go/store/types: SerialMessage: Unify TupleRowStorage and SerialMessage. #3899

Merged
merged 6 commits into from Jul 23, 2022

Conversation

reltuk
Copy link
Contributor

@reltuk reltuk commented Jul 22, 2022

Get rid of TupleRowStorage and use SerialMessage everywhere. In turn, change
SerialMessage so that it carries its kind and size prefix as part of itself.

@reltuk
Copy link
Contributor Author

reltuk commented Jul 22, 2022

@andrew-wm-arthur One question here would be if we should push FinishMessage(), MessagePrefixSz, MessageTypesKind, etc., into the serial package. Then serial.GetFileID() would do the MessagePrefix offset itself, for example.

Get rid of TupleRowStorage and use SerialMessage everywhere. In turn, change
SerialMessage so that it carries its kind and size prefix as part of itself.
@reltuk reltuk force-pushed the aaron/unify-tuplerowstorage-serialmessage branch from 9f507df to 4f3f4e1 Compare July 22, 2022 18:56
Copy link
Contributor

@andy-wm-arthur andy-wm-arthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think GetFileID() and FinishMessage() should definitely live in the same place, message or serial both seem fine

@andy-wm-arthur andy-wm-arthur merged commit a6d4bd9 into main Jul 23, 2022
@andy-wm-arthur andy-wm-arthur deleted the aaron/unify-tuplerowstorage-serialmessage branch July 23, 2022 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants