Skip to content
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

ALTER TABLE t TRUNCATE PARTITION is not mentioned as supported. #12311

Closed
mjonss opened this issue Jan 30, 2023 · 1 comment
Closed

ALTER TABLE t TRUNCATE PARTITION is not mentioned as supported. #12311

mjonss opened this issue Jan 30, 2023 · 1 comment
Assignees
Labels
area/bigdata Indicates that the Issue or PR belongs to the area of TiFlash, TiSpark, and OLAP.

Comments

@mjonss
Copy link
Contributor

mjonss commented Jan 30, 2023

Change Request

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.
    In https://docs.pingcap.com/tidb/dev/mysql-compatibility#ddl in the list after "Table Partitioning also supports ADD, DROP, and TRUNCATE operations. Other partition operations are ignored. The following Table Partition syntaxes are not supported:" TRUNCATE is mentioned as not supported, this is wrong, TRUNCATE PARTITION is supported.

  2. Describe your suggestion or addition.
    Change:
    "{CHECK|TRUNCATE|OPTIMIZE|REPAIR|IMPORT|DISCARD|REBUILD|REORGANIZE|COALESCE} PARTITION"
    to
    "{CHECK|OPTIMIZE|REPAIR|IMPORT|DISCARD|REBUILD|REORGANIZE|COALESCE} PARTITION"

  3. Provide some reference materials (such as documents and websites) if you could.
    Read the paragraph in front, where it says "Table Partitioning also supports ADD, DROP, and TRUNCATE operations."

@shichun-0415 shichun-0415 added the area/bigdata Indicates that the Issue or PR belongs to the area of TiFlash, TiSpark, and OLAP. label Feb 2, 2023
@qiancai
Copy link
Collaborator

qiancai commented Nov 29, 2023

Hi @mjonss, this issue has been fixed by your PR #13162. Thanks for your contribution👍

@qiancai qiancai closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bigdata Indicates that the Issue or PR belongs to the area of TiFlash, TiSpark, and OLAP.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants