-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
VStream API: validate that last PK has fields defined #16478
VStream API: validate that last PK has fields defined #16478
Conversation
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16478 +/- ##
==========================================
- Coverage 68.65% 68.62% -0.03%
==========================================
Files 1551 1551
Lines 199468 199473 +5
==========================================
- Hits 136935 136885 -50
- Misses 62533 62588 +55 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
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: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Description
The
vstream API
currently doesn't validate that theFields
for a specifiedTableLastPK
are defined. This results in a panics:This happens because the downstream code converts a
query.QueryResult
to asqltypes.Result
for which it requires Field type information to be specified.Since this can crash
vttablets
we should backport it to all supported versions.Related Issue(s)
#16479
Checklist
Deployment Notes