-
Notifications
You must be signed in to change notification settings - Fork 1.2k
sql-statements: use EBNF to render syntax diagrams for ADD, ALTER and ANALYZE statements #5324
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
sql-statements: use EBNF to render syntax diagrams for ADD, ALTER and ANALYZE statements #5324
Conversation
Co-authored-by: kennytm <kennytm@gmail.com>
|
LGTM |
|
@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? |
|
/run-cherry-picker |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-2.1 in PR #5352 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-3.0 in PR #5353 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-3.1 in PR #5354 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-4.0 in PR #5355 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.0 in PR #5356 |
… 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>
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Charlotte Liu <37295236+CharLotteiu@users.noreply.github.com>
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?