planner, ddl: fix hash partition with adding new column#39574
planner, ddl: fix hash partition with adding new column#39574ti-chi-bot merged 5 commits intopingcap:masterfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
| names := make([]*types.FieldName, 0, len(ds.TblCols)) | ||
| colsInfo := ds.table.FullHiddenColsAndVisibleCols() | ||
| // Use DeletableCols to get all the columns. | ||
| colsInfo := ds.table.DeletableCols() |
There was a problem hiding this comment.
How about the other partition types?
There was a problem hiding this comment.
It's used only by hash partition.
|
/run-build |
| tk2 := testkit.NewTestKit(t, store) | ||
| tk2.MustExec("use test") | ||
| tk2.MustExec("delete from t") |
There was a problem hiding this comment.
Please use a variable to receive the error and assert it out of the hook. Otherwise, the test may timeout even if the assertion failed.
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: a2c90db |
|
/merge |
|
In response to a cherrypick label: new pull request created: #39588. |
|
In response to a cherrypick label: new pull request created: #39589. |
|
In response to a cherrypick label: new pull request created: #39590. |
|
In response to a cherrypick label: new pull request created: #39591. |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
TiDB MergeCI notify🔴 Bad News! [3] CI still failing after this pr merged.
|
Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com
What problem does this PR solve?
Issue Number: ref #39570
Problem Summary:
colsInfo used FullHiddenColsAndVisibleCols and can get the writeOnly/writeReorg column, result in
information of columnnew columnis not foundCheck List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.