-
Notifications
You must be signed in to change notification settings - Fork 3.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
rowenc: add value encoding for arrays of tuples #63996
Conversation
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.
This looks nice, but probably needs a decode function too?
Reviewed 3 of 3 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @rafiss)
289714c
to
f27e031
Compare
Previously, queries that required an array of tuples to be encoded would fail. This could only happen if a distsql query required such a datum to be sent over the wire. This commit adds an encoding so such queries can succeed. Release note (bug fix): queries involving arrays of tuples will no longer spuriously fail due to an encoding error.
f27e031
to
0d86d80
Compare
0d86d80
to
009c1e3
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.
re: the need for a decode function - looks like it is already in place.
Reviewed 5 of 5 files at r2.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis)
tftr! bors r=yuzefovich |
This PR was included in a batch that was canceled, it will be automatically retried |
Build failed (retrying...): |
Build succeeded: |
fixes #32715
resurrecting an old PR #32871
Previously, queries that required an array of tuples to be encoded would
fail. This could only happen if a distsql query required such a datum to
be sent over the wire. This commit adds an encoding so such queries can
succeed.
A good followup task to do after this is #63995
Release note (bug fix): queries involving arrays of tuples will no
longer spuriously fail due to an encoding error.