-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
ddl: refactor job args for set-default-value/add column ddl. #56337
ddl: refactor job args for set-default-value/add column ddl. #56337
Conversation
Signed-off-by: joccau <zak.zhao@pingcap.cn>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #56337 +/- ##
================================================
+ Coverage 73.4163% 76.2759% +2.8596%
================================================
Files 1623 1645 +22
Lines 447906 456984 +9078
================================================
+ Hits 328836 348569 +19733
+ Misses 98924 86847 -12077
- Partials 20146 21568 +1422
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/test fast_test_tiprow_ddl |
@hawkingrei: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
272174c
to
918300a
Compare
Signed-off-by: joccau <zak.zhao@pingcap.cn>
918300a
to
9a4153a
Compare
Shall we change arguments to Lines 187 to 210 in f2ed822
It's used here, which assumes that the arguments are filled by DropColumnArgs ?Lines 55 to 62 in f2ed822
|
pkg/meta/model/job_args.go
Outdated
type AddColumnArgs struct { | ||
Col *ColumnInfo `json:"column_info,omitempty"` | ||
Pos *ast.ColumnPosition `json:"position,omitempty"` | ||
Offset int `json:"offset,omitempty"` |
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.
Seems like Offset
is never used. Just remove it and put zero in fillJob
?
CI passes, seems it's not covered, too bad the case is similar to how AddPartition is rollbacked |
/hold |
/test fast_test_tiprow_ddlargsv1 |
@D3Hunter: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-unit-test-ddlv1 |
@D3Hunter: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test pull-unit-test-ddlv1 |
@joccau: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test pull-br-integration-test |
@joccau: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test fast_test_tiprow |
@joccau: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test fast_test_tiprow_ddlargsv1 |
@D3Hunter: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test fast_test_tiprow_ddlargsv1 |
@D3Hunter: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold to wait V1 pass |
/retest |
/test fast_test_tiprow_ddlargsv1 |
@D3Hunter: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/unhold |
/hold |
/test pull-unit-test-ddlv1 |
@D3Hunter: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What problem does this PR solve?
Issue Number: Ref #53930
Ref #54436
Problem Summary:
What changed and how does it work?
Refactor the job args for follow ddl type:
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.