types: use flags in types package to handle clip zero case#47543
types: use flags in types package to handle clip zero case#47543ti-chi-bot[bot] merged 6 commits intopingcap:masterfrom
Conversation
|
/run-check-issue-triage-complete |
1a5c268 to
ca41ccd
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #47543 +/- ##
================================================
+ Coverage 71.8537% 72.7911% +0.9374%
================================================
Files 1398 1421 +23
Lines 405209 411591 +6382
================================================
+ Hits 291158 299602 +8444
+ Misses 94396 93143 -1253
+ Partials 19655 18846 -809
Flags with carried forward coverage won't be shown. Click here to find out more.
|
48c0251 to
e92ff59
Compare
e92ff59 to
7f0d336
Compare
62829c0 to
287b2ae
Compare
|
/retest tiprow_fast_test |
|
@lcwangchao: The
The following commands are available to trigger optional jobs:
Use
DetailsIn 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. |
|
@lcwangchao: The
Use DetailsIn 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. |
f1bd2c8 to
19d0bef
Compare
19d0bef to
09f9fa5
Compare
09f9fa5 to
d942a33
Compare
|
/retest |
8a86f34 to
be6834f
Compare
be6834f to
b84d8f0
Compare
| tz := *time.UTC | ||
| sessCtx.GetSessionVars().StmtCtx.SetTimeZone(&tz) | ||
| } | ||
| sessCtx.GetSessionVars().StmtCtx.IsDDLJobInQueue = true |
There was a problem hiding this comment.
Is this change expected? Though it seems that it's only used in pkg/executor/ddl.go 🤔 .
There was a problem hiding this comment.
I think IsDDLJobInQueue is used to make ShouldClipToZeror in the previous code. The verify CI passed after removing it.. @tangenta PTAL
There was a problem hiding this comment.
IIUC, pkg/executor/ddl.go is not related with pkg/ddl/backfilling_scheduler.go 🤔 , so it seems fine for this case.
|
/test check-dev2 |
|
@lcwangchao: The specified target(s) for
Use DetailsIn 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lance6716, XuHuaiyu, YangKeao The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: close #47518
What is changed and how it works?
This is one of the PR for code refactor, see: #47355
We use
FlagClipNegativeToZeroto indicate whether to clip the negative value to zero when casting the negative number to be unsigned.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.