Skip to content

Conversation

@CharLotteiu
Copy link
Contributor

@CharLotteiu CharLotteiu commented Jan 18, 2021

What is changed, added or deleted? (Required)

This PR changes the synopsis sections of ADD, ALTER and ANALYZE statements to use the ```ebnf+diagrm block, replacing the original image-based sqlgrams. It is a follow-up PR to pingcap/docs#4389 and pingcap/docs#4342.

To avoid making one single PR too large, I will open 4-5 follow-up PRs to process sql-statements files in batches. And I will delete all image files in the last PR in case of any display issues.

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

  • master (the latest development version)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.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

@CharLotteiu CharLotteiu added needs-cherry-pick-3.1 status/PTAL This PR is ready for reviewing. translation/doing This PR’s assignee is translating this PR. labels Jan 18, 2021
@CharLotteiu CharLotteiu self-assigned this Jan 18, 2021
@CharLotteiu CharLotteiu added the requires-version-specific-changes After cherry-picked, the cherry-picked PR requires further changes. label Jan 18, 2021
@kennytm
Copy link
Contributor

kennytm commented Jan 20, 2021

LGTM

@ti-srebot
Copy link
Contributor

@kennytm, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIG: docs(slack).

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Jan 20, 2021
@TomShawn
Copy link
Contributor

@CharLotteiu Shall we remove the png files in this PR?

@CharLotteiu
Copy link
Contributor Author

@CharLotteiu Shall we remove the png files in this PR?

I prefer to remove all png files in the last PR because some of the png files might still be used in other md files. What do you think?

@TomShawn TomShawn merged commit 59ffc3d into pingcap:master Jan 20, 2021
@CharLotteiu
Copy link
Contributor Author

/run-cherry-picker

ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Jan 20, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-2.1 in PR #5352

ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Jan 20, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-3.0 in PR #5353

ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Jan 20, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-3.1 in PR #5354

ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Jan 20, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #5355

ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Jan 20, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-5.0 in PR #5356

CharLotteiu added a commit that referenced this pull request Jan 21, 2021
… ANALYZE statements (#5324) (#5355)

* cherry pick #5324 to release-4.0

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

* Delete sql-statement-alter-index.md

Co-authored-by: Charlotte Liu <37295236+CharLotteiu@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
CharLotteiu added a commit that referenced this pull request Jan 21, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

Co-authored-by: Charlotte Liu <37295236+CharLotteiu@users.noreply.github.com>
CharLotteiu added a commit that referenced this pull request Jan 21, 2021
… ANALYZE statements (#5324) (#5352)

* cherry pick #5324 to release-2.1

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

* resolve conflicts

* add missed ebnf code

Co-authored-by: Charlotte Liu <37295236+CharLotteiu@users.noreply.github.com>
TomShawn pushed a commit that referenced this pull request Jan 21, 2021
… ANALYZE statements (#5324) (#5353)

* cherry pick #5324 to release-3.0

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

* resolve conflicts

Co-authored-by: Charlotte Liu <37295236+CharLotteiu@users.noreply.github.com>
TomShawn pushed a commit that referenced this pull request Jan 21, 2021
… ANALYZE statements (#5324) (#5354)

* cherry pick #5324 to release-3.1

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

* resolve conflicts

* revert delete

Co-authored-by: Charlotte Liu <37295236+CharLotteiu@users.noreply.github.com>
@CharLotteiu CharLotteiu added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR’s assignee is translating this PR. labels Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

requires-version-specific-changes After cherry-picked, the cherry-picked PR requires further changes. status/LGT1 Indicates that a PR has LGTM 1. status/PTAL This PR is ready for reviewing. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants