Skip to content

statistics: Added note about no TopN collected for unique single columns#21633

Merged
ti-chi-bot[bot] merged 3 commits into
pingcap:masterfrom
qiancai:no-topn-for-unique-single-columns-22475
Jul 10, 2026
Merged

statistics: Added note about no TopN collected for unique single columns#21633
ti-chi-bot[bot] merged 3 commits into
pingcap:masterfrom
qiancai:no-topn-for-unique-single-columns-22475

Conversation

@qiancai

@qiancai qiancai commented May 13, 2026

Copy link
Copy Markdown
Collaborator

What is changed, added or deleted? (Required)

Added a note that TopN is not collected for single column unique indexes or its corresponding column.

See pingcap/tidb#66236

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@qiancai qiancai added area/planner Indicates that the Issue or PR belongs to the area of SQL planner or optimizer. translation/from-docs This PR is translated from a PR in pingcap/docs. v9.0-beta.3 This PR/issue applies to TiDB v9.0-beta.3. labels May 13, 2026
@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 13, 2026
Synced from: pingcap/docs#22475
Target PR: pingcap#21633
AI Provider: azure

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Auto-sync completed successfully

Source PR: pingcap/docs#22475
Target PR: #21633

Chinese documentation has been updated based on English documentation changes.

Comment thread statistics.md Outdated
@qiancai qiancai self-assigned this May 25, 2026
@qiancai

qiancai commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

/approve

@qiancai qiancai added the lgtm label Jul 10, 2026
@ti-chi-bot

ti-chi-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

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

The pull request process is described here

Details 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 Jul 10, 2026
@ti-chi-bot ti-chi-bot Bot merged commit eed7f58 into pingcap:master Jul 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/planner Indicates that the Issue or PR belongs to the area of SQL planner or optimizer. lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/from-docs This PR is translated from a PR in pingcap/docs. v9.0-beta.3 This PR/issue applies to TiDB v9.0-beta.3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant