[release-19.0] Improve performance for BaseShowTablesWithSizes query. (#15713)#15795
[release-19.0] Improve performance for BaseShowTablesWithSizes query. (#15713)#15795frouioui merged 3 commits intorelease-19.0from
BaseShowTablesWithSizes query. (#15713)#15795Conversation
Signed-off-by: Arthur Schreiber <arthurschreiber@github.com> Co-authored-by: Deepthi Sigireddi <deepthi@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 @@
## 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 <arthurschreiber@github.com>
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 <arthurschreiber@github.com>
|
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? 🙇 |
frouioui
left a comment
There was a problem hiding this comment.
LGTM, thank you @arthurschreiber 🙇🏻
Description
This is a backport of #15713