Skip to content

Update load data sql description #20928

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

Merged

Conversation

Frank945946
Copy link
Collaborator

@Frank945946 Frank945946 commented May 9, 2025

First-time contributors' checklist

What is changed, added or deleted? (Required)

Update load data sql description

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.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 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)?

  • This PR is translated from:
  • Other reference 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

@ti-chi-bot ti-chi-bot bot added area/develop This PR relates to the area of TiDB App development. contribution This PR is from a community contributor. missing-translation-status This PR does not have translation status info. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 9, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Hello @Frank945946, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the load data SQL description in the TiDB documentation. It includes changes to .lycheeignore, OWNERS, README.md, and TOC-tidb-cloud.md, and TOC.md. The changes range from adding new URLs to the lychee ignore list, moving approvers in the OWNERS file, adding a release branch to the README, and reorganizing the table of contents for TiDB Cloud and TiDB documentation.

Highlights

  • Dependency Updates: The .lycheeignore file is updated to exclude more URLs from link checking, including various MySQL documentation sites and other external resources.
  • OWNERS File Modification: The OWNERS file is modified to re-categorize some approvers as emeritus approvers.
  • Documentation Enhancement: The README.md file is updated to include the release-8.1 branch, providing documentation for the 8.1 LTS version.
  • TOC Reorganization: The TOC-tidb-cloud.md file is significantly reorganized, restructuring the table of contents for TiDB Cloud documentation into sections like GET STARTED, DEVELOP, and GUIDES, and adding new entries for AI features and data services.
  • TOC Reorganization: The TOC.md file is reorganized to distinguish between TiDB Self-Managed and TiDB Cloud, and to update links to reflect the latest release (8.1).

Changelog

Click here to see the changelog
  • .lycheeignore
    • Added multiple URLs to the ignore list for link checking, including MySQL documentation, OpenAI resources, and PingCAP-specific variables.
  • OWNERS
    • Moved several approvers from the 'approvers' list to the 'emeritus_approvers' list.
  • README.md
    • Added a row for the release-8.1 branch to the TiDB documentation versions table.
  • TOC-tidb-cloud.md
    • Completely restructured the table of contents, adding sections for GET STARTED, DEVELOP, and GUIDES.
    • Introduced new entries for AI Features, Data Service, and Serverless Driver.
    • Categorized existing links under new headings and subheadings for better navigation.
  • TOC.md
    • Changed 'About TiDB' to 'About TiDB Self-Managed'.
    • Updated the TiDB release notes link to version 8.1.
    • Reorganized the table of contents to distinguish between TiDB Self-Managed and TiDB Cloud documentation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request aims to update the documentation for TiDB, focusing on improving clarity, consistency, and accuracy across various components and features. The changes include updates to the style guide, README, TOC files, and individual documentation pages. Overall, the changes seem beneficial for the documentation's quality and user experience.

Summary of Findings

  • README updates: The README.md file is updated to reflect the current branch naming conventions and TiDB versions, which is crucial for users to understand the documentation's scope.
  • TOC updates: The TOC files are significantly reorganized, adding new sections and entries for TiDB Cloud and self-managed TiDB. This improves navigation and discoverability of documentation.
  • .lycheeignore updates: The .lycheeignore file is updated with new URLs to be ignored during link checking, which helps to reduce false positives and maintain the accuracy of link validation.
  • OWNERS file updates: The OWNERS file is updated to reflect the current approvers and emeritus approvers, which is important for maintaining the accuracy of the code review process.
  • Style guide adherence: The pull request adheres to the documentation style guide, with improvements in clarity, simplicity, and consistency in terminology. However, there are a few instances where minor adjustments can be made to further enhance readability and accuracy.

Merge Readiness

The pull request is almost ready for merging. Addressing the identified issues, especially those related to documentation accuracy and consistency, will further enhance the quality of the changes. After these issues are resolved, the pull request should be in good shape to be merged. I am unable to directly approve this pull request, and other reviewers should review and approve this code before merging.

@Frank945946 Frank945946 changed the base branch from master to release-8.1 May 9, 2025 03:19
@ti-chi-bot ti-chi-bot bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 9, 2025
Copy link
Member

@lilin90 lilin90 left a comment

Choose a reason for hiding this comment

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

/lgtm

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label May 12, 2025
Copy link

ti-chi-bot bot commented May 12, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-05-12 02:17:13.44590004 +0000 UTC m=+325099.593861254: ☑️ agreed by lilin90.

@lilin90 lilin90 self-assigned this May 12, 2025
@lilin90 lilin90 added needs-cherry-pick-master Should cherry pick this PR to master branch. needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. translation/no-need No need to translate this PR. labels May 12, 2025
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label May 12, 2025
@lilin90 lilin90 added lgtm and removed needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. labels May 12, 2025
Copy link
Member

@lilin90 lilin90 left a comment

Choose a reason for hiding this comment

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

/approve

Copy link

ti-chi-bot bot commented May 12, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lilin90

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 12, 2025
@lilin90
Copy link
Member

lilin90 commented May 12, 2025

/retest

@qiancai qiancai closed this May 12, 2025
@qiancai qiancai reopened this May 12, 2025
@ti-chi-bot ti-chi-bot bot merged commit 6ba093d into pingcap:release-8.1 May 12, 2025
10 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch master: #20932.

@ti-chi-bot
Copy link
Member

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

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. contribution This PR is from a community contributor. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. needs-cherry-pick-master Should cherry pick this PR to master branch. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/no-need No need to translate this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants