-
Notifications
You must be signed in to change notification settings - Fork 593
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
feat(sink): support sink map to protobuf #18552
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
let encoded: Vec<u8> = m.ser_to().unwrap(); | ||
assert_eq!( | ||
encoded, | ||
// Hint: write the binary output to a file `test.binpb`, and view it with `protoc`: | ||
// ``` | ||
// protoc --decode_raw < test.binpb | ||
// protoc --decode=all_types.AllTypes all-types.proto < test.binpb | ||
// ``` | ||
[ | ||
9, 0, 0, 0, 0, 0, 0, 17, 64, 21, 0, 0, 96, 64, 24, 22, 32, 23, 56, 48, 93, 26, 0, | ||
0, 0, 97, 27, 0, 0, 0, 0, 0, 0, 0, 104, 1, 114, 10, 82, 105, 115, 105, 110, 103, | ||
87, 97, 118, 101, 122, 2, 190, 239, 138, 1, 2, 8, 1, 146, 1, 3, 4, 0, 4, 186, 1, 3, | ||
16, 184, 23 | ||
] | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
serialize map seems to be nondeterministic, so we can't test it in this way any more
9dd684e
to
20bc6e2
Compare
e25a617
to
ead2ebd
Compare
20bc6e2
to
959ac33
Compare
ead2ebd
to
3f3a678
Compare
959ac33
to
8f1c089
Compare
3f3a678
to
15be669
Compare
8f1c089
to
1739576
Compare
2cca4af
to
fb8580d
Compare
Signed-off-by: xxchan <[email protected]>
fb8580d
to
dabf7e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: xxchan <[email protected]>
…h release-2.0 (#18616) Signed-off-by: xxchan <[email protected]> Co-authored-by: Eric Fu <[email protected]>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.