stmtctx: remove OverflowAsWarning flag#49122
Conversation
|
Skipping CI for Draft Pull Request. |
|
/retest |
|
Skipping CI for Draft Pull Request. |
f734a78 to
95fd483
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #49122 +/- ##
================================================
+ Coverage 70.9870% 71.5603% +0.5732%
================================================
Files 1368 1417 +49
Lines 399790 417923 +18133
================================================
+ Hits 283799 299067 +15268
- Misses 96179 100033 +3854
+ Partials 19812 18823 -989
Flags with carried forward coverage won't be shown. Click here to find out more.
|
95fd483 to
b8ee154
Compare
51a3bbb to
c5856a5
Compare
There was a problem hiding this comment.
This line is introduced in #47842. I think it's a bug, right? @lcwangchao Please confirm.
c5856a5 to
581271b
Compare
|
/retest |
|
/test unit-test |
|
@wuhuizuo: 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. |
|
/retest |
lance6716
left a comment
There was a problem hiding this comment.
/approve
for lightning part I'll check the integration test results
|
/test pull-lightning-integration-test |
|
@lance6716: 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. |
pkg/ddl/backfilling_scheduler.go
Outdated
There was a problem hiding this comment.
Here we remove OverflowAsWarning, do we need to add WithTruncateAsWarning?
There was a problem hiding this comment.
WithTruncateAsWarning is part of typeFlags. Here we restored the typeFlags, so it's fine to just remove OverflowAsWarning.
|
/retest |
|
/cc @SeaRise |
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
581271b to
8da014e
Compare
[LGTM Timeline notifier]Timeline:
|
|
@YangKeao: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lance6716, SeaRise, tiancaiamao, windtalker, zimulala 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 #49143, close #49137
Problem Summary:
The difference between
OverflowAsWarningandTruncatedAsWarningdoesn't actually exist. The existing difference are all incompatible with MySQL.I suggest to read #49141 (comment). It gives a clearer explanation on why this PR is right.
What changed and how does it work?
This PR removes
OverflowAsWarningand handle them throughHandleError. ActuallyHandleErrorandHandleTruncateare the same (andHandleTruncatewill be removed in this or next week). As we providedHandleErrorWithAlias, it's more appropriate for this PR.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.