-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
util/misc: pass the array field in column info to TiKV #46718
Conversation
Skipping CI for Draft Pull Request. |
Skipping CI for Draft Pull Request. |
/test all I have uploaded the new dependency. |
c21f8ed
to
12789b0
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #46718 +/- ##
================================================
- Coverage 73.3691% 72.6539% -0.7153%
================================================
Files 1302 1354 +52
Lines 394509 404314 +9805
================================================
+ Hits 289448 293750 +4302
- Misses 86664 91920 +5256
- Partials 18397 18644 +247
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
21e752e
to
d58bb0b
Compare
/retest |
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
However, the title & description is a little misleading: it adds array type to tipb.ColumnInfo
and pass it to TiKV, the ColumnInfo
struct in TiDB contains array type already, please update the title & desc.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bb7133 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
go.mod
Outdated
@@ -305,4 +305,6 @@ replace ( | |||
github.com/dgrijalva/jwt-go => github.com/form3tech-oss/jwt-go v3.2.6-0.20210809144907-32ab6a8243d7+incompatible | |||
github.com/go-ldap/ldap/v3 => github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 | |||
github.com/pingcap/tidb/parser => ./parser | |||
|
|||
github.com/pingcap/tipb => github.com/YangKeao/tipb v0.0.0-20230906072756-8d43143257bf |
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.
I'll hold this PR until pingcap/tipb#317 is merged.
/hold |
/unhold |
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
/retest |
1 similar comment
/retest |
@YangKeao: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
#46993 has been merged. Close this one. |
What problem does this PR solve?
Issue Number: close #46717
This PR copies the information of whether the type is an array from the
FieldType
to thetipb.ColumnInfo
and passed it to tikv.Tests