Skip to content

Add docs for SUM_INT, MAX_COUNT, and MIN_COUNT#21763

Open
windtalker wants to merge 2 commits into
pingcap:masterfrom
windtalker:add_sum_int
Open

Add docs for SUM_INT, MAX_COUNT, and MIN_COUNT#21763
windtalker wants to merge 2 commits into
pingcap:masterfrom
windtalker:add_sum_int

Conversation

@windtalker

@windtalker windtalker commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What is changed, added or deleted? (Required)

  • Add docs for the TiDB-specific aggregate function SUM_INT().
  • Add docs for MAX_COUNT() and MIN_COUNT(), including syntax, return value, NULL handling, DISTINCT limitation, window-function usage, and TiFlash pushdown support.
  • Update the window function and TiFlash pushdown docs accordingly.

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

  • 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)

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

Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 3, 2026
@qiancai qiancai self-assigned this Jul 14, 2026
@qiancai qiancai added the translation/doing This PR’s assignee is translating this PR. label Jul 14, 2026
@ti-chi-bot ti-chi-bot Bot removed the missing-translation-status This PR does not have translation status info. label Jul 14, 2026
@qiancai

qiancai commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

@windtalker, would you please involve a tech review for this PR? Btw, the code change of this PR is only made in the master branch of the pingcap/tidb repo, right? If so, I will not cherry-pick this PR to other doc branches.

@qiancai qiancai added translation/from-docs This PR is translated from a PR in pingcap/docs. and removed translation/doing This PR’s assignee is translating this PR. labels Jul 14, 2026
@ti-chi-bot

ti-chi-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

[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 ask for approval from qiancai. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found 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 size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 15, 2026
@windtalker windtalker changed the title add docs for sum_int function Add docs for SUM_INT, MAX_COUNT, and MIN_COUNT Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/from-docs This PR is translated from a PR in pingcap/docs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants