Closed rleungx closed 3 years ago
what is the difference between this and PLACEMENT POLICY?
what is the difference between this and PLACEMENT POLICY?
We are going to add some attributes to a table/partition to solve some specified problems. e.g., notmerge
attribute means don't merge a table. It's different from the placement rule which mainly focuses on data placement.
@rleungx We may also need to consider the removal syntax for attributes. Anyway, it would be better if there is a detailed design document.
PTAL @djshow832 @xhebox, thanks.
@rleungx We may also need to consider the removal syntax for attributes. Anyway, it would be better if there is a detailed design document.
How about using alter table t attributes=default
for removing all attributes?
[REVIEW NOTIFICATION]
This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer
in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer
in the comment to help you merge this pull request.
The full list of commands accepted by this bot can be found here.
@nolouch: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments.
/merge
This pull request has been accepted and is ready to merge.
What problem does this PR solve?
It's used for the region label feature. Closes https://github.com/pingcap/parser/issues/1288.
What is changed and how it works?
This PR is going to support
to change the attributes of a table or a partition.
And use the following syntax to reset all attributes for a table or a partition:
Check List
Tests
Related changes