Skip to content

information-schema, develop, ai: fix wrong values, links, and wording (#24489) - #24562

Open
ti-chi-bot wants to merge 4 commits into
pingcap:release-8.5from
ti-chi-bot:cherry-pick-24489-to-release-8.5
Open

ti-chi-bot wants to merge 4 commits into
pingcap:release-8.5from
ti-chi-bot:cherry-pick-24489-to-release-8.5

Conversation

@ti-chi-bot

@ti-chi-bot ti-chi-bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

This is an automated cherry-pick of #24489

What is changed, added, or deleted? (Required)

Fix wrong values, links, and wording in the INFORMATION_SCHEMA, developer guide, and AI docs. These errors were found while reviewing the English docs for issues that affect the Japanese translation. Each fix is shown below; the same wrong text was also searched for in the rest of the docs. Two items (CREATE_OPTIONS and "library") are wording fixes: the current English made the Japanese translation wrong.

File Before After
information-schema/information-schema-engines.md Column ENGINES ENGINE (the table column)
information-schema/information-schema-analyze-status.md "6 rows in set" (the result shows 7 rows) "7 rows in set"
information-schema/information-schema-tidb-hot-regions.md "[TIDB_HOT_REGIONS_HISTORY](…)" (the link is inside a code span) "TIDB_HOT_REGIONS_HISTORY"
information-schema/information-schema-tables.md CREATE_OPTIONS: "Creates options." "Extra options used with CREATE TABLE." (The Japanese translation rendered the old text as 「オプションを作成します」, "creates options".)
information-schema/information-schema-memory-usage-ops-history.md `tidb_server_memory_limit`](…) (missing [) [`tidb_server_memory_limit`](…)
information-schema/information-schema-statistics.md "Expression For the index key …" "Expression: For …"
develop/dev-guide-use-temporary-tables.md ON COMMIT DELETE ROWS "means the table will be deleted" "the data in the table will be deleted"
develop/dev-guide-create-database.md "the library build statement" "the database creation statement" (Japanese: 「ライブラリビルドステートメント」)
develop/dev-guide-object-naming-guidelines.md "a temporary library", "a test library" "a temporary database", "a test database" (Japanese: 「一時ライブラリ」)
develop/dev-guide-third-party-tools-compatibility.md "third-party tools supported by TiDB" links to the page itself dev-guide-third-party-support.md
develop/serverless-driver.md "configure the decoder option" decoders (as in the example)
ai/integrations/vector-search-auto-embedding-overview.md VEC_EMBED_COSINE_DISTANCE(): "Calculates cosine similarity" "cosine distance"
ai/integrations/vector-search-integrate-with-llamaindex.md, vector-search-integrate-with-langchain.md Describes <DATABASE>, but the connection URL uses <DATABASE_NAME> <DATABASE_NAME>

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)

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

  • Related code change PR links (if applicable):
  • This PR is translated from:
  • Other reference link(s):

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

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

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that the vector-search function returns cosine distance.
    • Updated connection examples to use the <DATABASE_NAME> placeholder and clarified database creation and naming guidance.
    • Explained that ON COMMIT DELETE ROWS removes temporary-table data after a transaction ends.
    • Corrected the serverless driver’s SQL-level decoder option name.
    • Refined information-schema descriptions and examples, including row counts, storage engine names, table options, and memory-limit references.
    • Updated a third-party tools link and improved formatting in several reference pages.

yahonda and others added 4 commits October 27, 2026 14:11
- information-schema-engines.md: the column is `ENGINE`, not `ENGINES`.
- information-schema-analyze-status.md: the example result shows 7 rows,
  not 6.
- information-schema-tidb-hot-regions.md: move the backticks inside the
  link so that the link renders.
- information-schema-tables.md: describe `CREATE_OPTIONS` as the extra
  options used with `CREATE TABLE`. "Creates options." reads as a verb
  phrase, and the Japanese translation rendered it as 「オプションを作成
  します」.
- information-schema-memory-usage-ops-history.md: add the missing "[" of
  the `tidb_server_memory_limit` link.
- information-schema-statistics.md: add the missing colon after
  `Expression`.
- dev-guide-use-temporary-tables.md: `ON COMMIT DELETE ROWS` deletes the
  data in the table, not the table.
- dev-guide-create-database.md and dev-guide-object-naming-guidelines.md:
  "library" means database here; the Japanese translation rendered it
  literally as 「ライブラリ」.
- dev-guide-third-party-tools-compatibility.md: the "third-party tools
  supported by TiDB" link pointed to the page itself.
- serverless-driver.md: the option is `decoders`, as in the example.
- vector-search-auto-embedding-overview.md: `VEC_EMBED_COSINE_DISTANCE()`
  calculates the cosine distance, not the similarity.
- vector-search-integrate-with-llamaindex.md and
  vector-search-integrate-with-langchain.md: describe `<DATABASE_NAME>`,
  the placeholder that the connection URL uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…at comments

The connection URL and the parameter list now use <DATABASE_NAME>, so
use it in the "Connection string format" comments too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uideline

"Metrics" means measurements; the guideline means naming criteria. The
Japanese translation rendered it literally as "indicators".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ti-chi-bot ti-chi-bot added area/develop This PR relates to the area of TiDB App development. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. labels Oct 27, 2026
@ti-chi-bot

ti-chi-bot Bot commented Oct 27, 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 assign csuzhangxc for approval. 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

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 636d630 and 3f7e14f.

Files selected for processing: 14
  • ai/integrations/vector-search-auto-embedding-overview.md
  • ai/integrations/vector-search-integrate-with-langchain.md
  • ai/integrations/vector-search-integrate-with-llamaindex.md
  • develop/dev-guide-create-database.md
  • develop/dev-guide-object-naming-guidelines.md
  • develop/dev-guide-third-party-tools-compatibility.md
  • develop/dev-guide-use-temporary-tables.md
  • develop/serverless-driver.md
  • information-schema/information-schema-analyze-status.md
  • information-schema/information-schema-engines.md
  • information-schema/information-schema-memory-usage-ops-history.md
  • information-schema/information-schema-statistics.md
  • information-schema/information-schema-tables.md
  • information-schema/information-schema-tidb-hot-regions.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

Walkthrough

This pull request updates wording, examples, links, and displayed output in AI integration, developer guide, and Information Schema documentation.

Changes: Documentation corrections

Layer / File(s) Summary
AI vector documentation
ai/integrations/vector-search-auto-embedding-overview.md, ai/integrations/vector-search-integrate-with-langchain.md, ai/integrations/vector-search-integrate-with-llamaindex.md
The function description now says cosine distance. LangChain and LlamaIndex connection examples and parameter descriptions use <DATABASE_NAME>.
Developer guide corrections
develop/dev-guide-create-database.md, develop/dev-guide-object-naming-guidelines.md, develop/dev-guide-third-party-tools-compatibility.md, develop/dev-guide-use-temporary-tables.md, develop/serverless-driver.md
The pages update database terminology, temporary-table behavior, a support-page link, and the serverless driver option name.
Information Schema reference corrections
information-schema/information-schema-analyze-status.md, information-schema/information-schema-engines.md, information-schema/information-schema-memory-usage-ops-history.md, information-schema/information-schema-statistics.md, information-schema/information-schema-tables.md, information-schema/information-schema-tidb-hot-regions.md
The pages correct descriptions and formatting. The analyze-status example reports seven rows instead of six.

Priority: Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • pingcap/docs#24489: This is the source PR for the automated cherry-pick and contains the same documentation corrections.
  • pingcap/docs#24443: This PR updates the Japanese vector documentation to use “cosine distance,” matching the terminology correction here.

Suggested reviewers: qiancai

Merge Risk: Minimal · up to 3f7e1

The documentation corrections are ready to merge with no identified production or workflow risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly summarizes the documentation fixes across the INFORMATION_SCHEMA, developer, and AI sections. It is concise and related to the main changes.
Description check Passed The description covers the required change summary and affected TiDB versions. It also lists the individual corrections, AI involvement, and applicable checklist items. Optional reference-link fields …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description covers the required change summary and affected TiDB versions. It also lists the individual corrections, AI involvement, and applicable checklist items. Optional reference-link fields are present but empty.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (14 skipped: 14 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/develop This PR relates to the area of TiDB App development. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants