Skip to content

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

Merged
ti-chi-bot[bot] merged 4 commits into
pingcap:masterfrom
yahonda:fix-wrong-values-and-links-in-is-develop-ai
Oct 27, 2026
Merged

ti-chi-bot[bot] merged 4 commits into
pingcap:masterfrom
yahonda:fix-wrong-values-and-links-in-is-develop-ai

Conversation

@yahonda

@yahonda yahonda commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

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 vector search results represent cosine distance and standardized database-name placeholders in integration examples.
    • Corrected database creation and naming guidance, explained when global temporary table data is cleared, and updated decoder configuration terminology.
    • Updated third-party tool support references.
    • Corrected information schema examples, column names, descriptions, links, and formatting.

- 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>
@ti-chi-bot

ti-chi-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@ti-chi-bot ti-chi-bot Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. area/develop This PR relates to the area of TiDB App development. labels Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingcap/docs
  • Branch: master
  • File: .coderabbit.yaml
  • Commit: 3ba897a
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: f26878cb-3498-4c7a-90cd-71524bea471e
Commits

Reviewing files that changed from the base of the PR and between c0cb1df and 70a1650.

Files selected for processing: 4
  • ai/integrations/vector-search-integrate-with-langchain.md
  • ai/integrations/vector-search-integrate-with-llamaindex.md
  • develop/dev-guide-object-naming-guidelines.md
  • develop/serverless-driver.md

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

Walkthrough

This pull request updates documentation across AI integrations, developer guides, and information-schema references. It corrects terminology, parameter names, links, an example row count, and descriptions of documented behavior.

Changes: Documentation Updates

Layer / File(s) Summary
AI integration references
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 vector-search function description now identifies cosine distance. LangChain and LlamaIndex connection examples and database parameter descriptions use <DATABASE_NAME>.
Developer guide references
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 guides update database terminology, clarify what ON COMMIT DELETE ROWS removes, correct a support-page link, and use the decoders option name.
Information-schema references
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 documentation updates the ANALYZE_STATUS example row count, corrects the ENGINE column name, fixes link formatting and punctuation, and clarifies CREATE_OPTIONS.

Priority: Low

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

Change: Other

Suggested reviewers: qiancai

Merge Risk: Minimal · up to 70a16

The documentation corrections are ready to merge with no identified user-facing risk.

Architecture risk: Low · up to c0cb1

The change affects 3 systems.

Changed systems: information-schema, develop, ai

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — information-schema (service) was modified; 6 changed files map to changed impact.
  • observed — develop (service) was modified; 5 changed files map to changed impact.
  • observed — ai (service) was modified; 3 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in ai/integrations/vector-search-auto-embedding-overview.md: Changed the VEC_EMBED_COSINE_DISTANCE() documentation from describing cosine similarity to describing cosine distance.
  • observed — Modified behavior in ai/integrations/vector-search-integrate-with-langchain.md: Renamed the documented database connection parameter placeholder from <DATABASE> to <DATABASE_NAME>.
  • observed — Modified behavior in ai/integrations/vector-search-integrate-with-llamaindex.md: Renamed the documented connection-string database parameter from <DATABASE> to <DATABASE_NAME>.
  • observed — Modified behavior in develop/dev-guide-create-database.md: Updated the instruction text from “library build statement” to “database creation statement.”
Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description clearly explains the documentation fixes, affected files, target versions, AI involvement, and applicable change categories. All required sections are present.
Title check Passed The title concisely identifies the affected documentation areas and the primary fixes to incorrect values, links, and wording.
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: 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. (4 skipped: 4 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.

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 19, 2026
@yahonda
yahonda marked this pull request as ready for review October 20, 2026 00:13
@ti-chi-bot ti-chi-bot Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 20, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: pingcap/docs/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 31ce7cb2-9271-4ef5-af4c-8e60db03769e
📥 Commits

Reviewing files that changed from the base of the PR and between 3ba897a and c0cb1df.

📒 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; 0 remain after this review.

Comment thread ai/integrations/vector-search-integrate-with-langchain.md
Comment thread ai/integrations/vector-search-integrate-with-llamaindex.md
Comment thread develop/dev-guide-object-naming-guidelines.md Outdated
yahonda and others added 2 commits October 20, 2026 09:41
…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 Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 20, 2026
@qiancai qiancai added the translation/doing This PR's assignee is translating this PR. label Oct 27, 2026
@ti-chi-bot ti-chi-bot Bot removed the missing-translation-status This PR does not have translation status info. label Oct 27, 2026

@qiancai qiancai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM

**decoders**

To customize the format of returned column values, you can configure the `decoder` option in the `connect()` method as follows:
To customize the format of returned column values, you can configure the `decoders` option in the `connect()` method as follows:

@qiancai qiancai Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TypeScript example just below this sentence still contains a code comment reading "You can also configure the decoder option at the SQL level to override the decoders with the same keys at the connection level." — since the option is decoders, consider updating that comment to "the decoders option" for consistency.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated in 70a1650 (this PR)

@ti-chi-bot ti-chi-bot Bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 27, 2026
@ti-chi-bot

ti-chi-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2026-10-27 13:50:00.746034443 +0000 UTC m=+469338.237746692: ☑️ agreed by qiancai.

@qiancai qiancai self-assigned this Oct 27, 2026
@qiancai qiancai added the needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. label Oct 27, 2026
@qiancai

qiancai commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

/approve

@qiancai qiancai added the lgtm label Oct 27, 2026
@ti-chi-bot

ti-chi-bot Bot commented Oct 27, 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 Oct 27, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit f002729 into pingcap:master Oct 27, 2026
12 checks passed
@ti-chi-bot

Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch release-8.5: #24562.

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

Labels

approved area/develop This PR relates to the area of TiDB App development. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/doing This PR's assignee is translating this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants