-
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
[release-19.0] Improve performance for BaseShowTablesWithSizes
query. (#15713)
#15795
Conversation
Signed-off-by: Arthur Schreiber <[email protected]> Co-authored-by: Deepthi Sigireddi <[email protected]>
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 @@
## release-19.0 #15795 +/- ##
================================================
- Coverage 67.45% 67.44% -0.01%
================================================
Files 1560 1560
Lines 192777 192777
================================================
- Hits 130032 130016 -16
- Misses 62745 62761 +16 ☔ View full report in Codecov by Sentry. |
@frouioui The upgrade-downgrade tests fail because the bind variable type comment changed for decimal types.
vitess/go/test/endtoend/vtgate/queries/normalize/normalize_test.go Lines 43 to 49 in 354bff9
Why does the above test set I'd think that probably line 43 should include the "updated" decimal comment? |
Signed-off-by: Arthur Schreiber <[email protected]>
There were no merge conflict, the PR was created cleanly.
I think they are comparing different values.
|
I find it weird that we did not have to update that test on the main PR though. |
Yes, you are right. But the query collected in the test looks like this:
I updated the tests, let's see if that gets us to green. |
Signed-off-by: Arthur Schreiber <[email protected]>
I might have figured this out? The generated query text changed from v18 to v19, and from v19 to v20. The upgrade - downgrade tests I guess test both combination, but only had logic to account for the query difference between v18 and v19, but not v19 and v20. I added another check and I think this should work now. |
@frouioui can you take another look? 🙇 |
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, thank you @arthurschreiber 🙇🏻
Description
This is a backport of #15713