Skip to content
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

variable: remove text as a default type in the tidb_analyze_skip_column_types | tidb-test=pr/2334 #53438

Merged
merged 2 commits into from
May 21, 2024

Conversation

hawkingrei
Copy link
Member

@hawkingrei hawkingrei commented May 21, 2024

What problem does this PR solve?

Issue Number: close #52636

Problem Summary:

What changed and how does it work?

text is not too large to lead to the problem. Some customers use it in the business. so we remove it in the tidb_analyze_skip_column_types.

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

…mn_types

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue do-not-merge/needs-tests-checked release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed do-not-merge/needs-linked-issue do-not-merge/needs-tests-checked labels May 21, 2024
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.6025%. Comparing base (35e4c84) to head (11d5f16).
Report is 4 commits behind head on master.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #53438        +/-   ##
================================================
+ Coverage   70.8837%   74.6025%   +3.7187%     
================================================
  Files          1505       1505                
  Lines        411389     430653     +19264     
================================================
+ Hits         291608     321278     +29670     
+ Misses       100457      89453     -11004     
- Partials      19324      19922       +598     
Flag Coverage Δ
integration 49.3188% <ø> (?)
unit 71.3280% <ø> (+1.6109%) ⬆️

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

Components Coverage Δ
dumpling 53.9957% <ø> (-2.3014%) ⬇️
parser ∅ <ø> (∅)
br 50.3790% <ø> (+7.3140%) ⬆️

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
@hawkingrei hawkingrei changed the title variable: remove text as a default type in the tidb_analyze_skip_column_types variable: remove text as a default type in the tidb_analyze_skip_column_types | tidb-test=pr/2334 May 21, 2024
@hawkingrei
Copy link
Member Author

/retest

@hawkingrei hawkingrei requested a review from Rustin170506 May 21, 2024 07:22
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label May 21, 2024
@hawkingrei
Copy link
Member Author

/retest

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels May 21, 2024
Copy link

ti-chi-bot bot commented May 21, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-05-21 07:26:49.320905543 +0000 UTC m=+2156563.078041116: ☑️ agreed by hi-rustin.
  • 2024-05-21 07:41:48.56234465 +0000 UTC m=+2157462.319480223: ☑️ agreed by winoros.

@easonn7
Copy link

easonn7 commented May 21, 2024

/approve

Copy link

ti-chi-bot bot commented May 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: easonn7, hi-rustin, winoros

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label May 21, 2024
@ti-chi-bot ti-chi-bot bot merged commit 53bf76f into pingcap:master May 21, 2024
23 checks passed
@hawkingrei hawkingrei deleted the removetestfamily branch May 21, 2024 12:59
RidRisR pushed a commit to RidRisR/tidb that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the default value of tidb_analyze_skip_column_types should over all large column type.
4 participants