tidb icon indicating copy to clipboard operation
tidb copied to clipboard

planner: Fix more cases that explain does not display a truncated value

Open EricZequan opened this issue 2 years ago • 5 comments

What problem does this PR solve?

Issue Number: ref #54245

Problem Summary:

What changed and how does it work?

This PR brings long constant truncation to more kind of plans.

Check List

Tests

  • [ ] Unit test
  • [ ] Integration test
  • [ ] Manual test (add detailed scripts or steps below)
  • [ ] No need to test
    • [ ] I checked and no code files have been changed.

Side effects

  • [ ] Performance regression: Consumes more CPU
  • [ ] Performance regression: Consumes more Memory
  • [ ] Breaking backward compatibility

Documentation

  • [ ] Affects user behaviors
  • [ ] Contains syntax changes
  • [ ] Contains variable changes
  • [ ] Contains experimental features
  • [ ] Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

EricZequan avatar Aug 16 '24 08:08 EricZequan

Hi @EricZequan. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

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.

tiprow[bot] avatar Aug 16 '24 08:08 tiprow[bot]

Codecov Report

Attention: Patch coverage is 90.32258% with 3 lines in your changes missing coverage. Please review.

Project coverage is 56.0721%. Comparing base (5dae1a3) to head (8d2e4b1). Report is 215 commits behind head on master.

Additional details and impacted files
@@                Coverage Diff                @@
##             master     #55466         +/-   ##
=================================================
- Coverage   72.8045%   56.0721%   -16.7324%     
=================================================
  Files          1604       1729        +125     
  Lines        445563     622236     +176673     
=================================================
+ Hits         324390     348901      +24511     
- Misses       101206     249587     +148381     
- Partials      19967      23748       +3781     
Flag Coverage Δ
integration 37.2679% <87.0967%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 52.9567% <ø> (ø)
parser ∅ <ø> (∅)
br 52.8979% <ø> (+7.0977%) :arrow_up:

codecov[bot] avatar Aug 16 '24 08:08 codecov[bot]

/retest

EricZequan avatar Aug 29 '24 06:08 EricZequan

/retest

EricZequan avatar Aug 29 '24 09:08 EricZequan

@EricZequan: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

tiprow[bot] avatar Aug 29 '24 09:08 tiprow[bot]

/retest

EricZequan avatar Aug 30 '24 06:08 EricZequan

@EricZequan: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

tiprow[bot] avatar Aug 30 '24 06:08 tiprow[bot]

/retest

EricZequan avatar Sep 06 '24 09:09 EricZequan

@EricZequan: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

tiprow[bot] avatar Sep 06 '24 09:09 tiprow[bot]

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign xuhuaiyu for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

ti-chi-bot[bot] avatar Sep 09 '24 03:09 ti-chi-bot[bot]

@EricZequan: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
idc-jenkins-ci-tidb/unit-test 8d2e4b11089609a41d9a88f4b81269cbc463a4f7 link true /test unit-test

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.

ti-chi-bot[bot] avatar Sep 09 '24 04:09 ti-chi-bot[bot]

PR needs rebase.

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.

ti-chi-bot[bot] avatar Sep 29 '24 02:09 ti-chi-bot[bot]

Close for https://github.com/pingcap/tidb/pull/55934

breezewish avatar Oct 07 '24 05:10 breezewish