sql-statements: use EBNF to render syntax diagrams for ADD, ALTER and ANALYZE statements#5324
Merged
TomShawn merged 5 commits intoJan 20, 2021
Merged
Conversation
kennytm
reviewed
Jan 19, 2021
Co-authored-by: kennytm <kennytm@gmail.com>
Contributor
|
LGTM |
Contributor
TomShawn
approved these changes
Jan 20, 2021
Contributor
|
@CharLotteiu Shall we remove the png files in this PR? |
Contributor
Author
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? |
Contributor
Author
|
/run-cherry-picker |
10 tasks
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>
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>
10 tasks
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>
10 tasks
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>
10 tasks
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>
10 tasks
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>
10 tasks
This was referenced Feb 1, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)
This PR changes the synopsis sections of ADD, ALTER and ANALYZE statements to use the
```ebnf+diagrmblock, 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)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?