-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: Refactoring reading logic of virtual generate column #12407
Conversation
/run-unit-test |
Codecov Report
@@ Coverage Diff @@
## master #12407 +/- ##
================================================
+ Coverage 80.1577% 80.8396% +0.6818%
================================================
Files 471 471
Lines 113571 116699 +3128
================================================
+ Hits 91036 94339 +3303
+ Misses 15440 15292 -148
+ Partials 7095 7068 -27 |
This pr depends on other pr for mysql_test which still WIP |
/rebuild |
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
Wait for tidb_test PR 915 |
@winoros, @Deardrops, @lamxTyler, @eurekaka, @bb7133, PTAL. |
/run-all-tests tidb-test=pr/915 |
1 similar comment
/run-all-tests tidb-test=pr/915 |
@winoros, @Deardrops, @lamxTyler, @eurekaka, @bb7133, PTAL. |
2 similar comments
@winoros, @Deardrops, @lamxTyler, @eurekaka, @bb7133, PTAL. |
@winoros, @Deardrops, @lamxTyler, @eurekaka, @bb7133, PTAL. |
Your auto merge job has been accepted, waiting for 13385 |
/run-all-tests |
/run-all-tests tidb-test=pr/915 |
0108289
to
54346df
Compare
/run-all-tests tidb-test=pr/915 |
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
What problem does this PR solve?
Refactoring reading logic of virtual generate column, and Fix #5189.
After this pr, index on virtual column can be used.
What is changed and how it works?
Next()
function, so that we can treat virtual column as ordinary column in planner. To do that, we need to expand virtual column with its dependent column so that TiKV will return sufficient data to compute virtual column.Check List
Tests
The new tests are added on tidb_test/mysql_test
Code changes
Side effects
Related changes
Release note