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

Support SHOW PLACEMENT #26582

Closed
2 of 5 tasks
morgo opened this issue Jul 26, 2021 · 3 comments
Closed
2 of 5 tasks

Support SHOW PLACEMENT #26582

morgo opened this issue Jul 26, 2021 · 3 comments
Assignees

Comments

@morgo
Copy link
Contributor

morgo commented Jul 26, 2021

This is a sub-task of Placement Rules in SQL: #18030

This requires the following subtasks:

  • Parser: `SHOW PLACEMENT LIKE 'x';
  • Parser: Add SHOW PLACEMENT FOR [{DATABASE | SCHEMA} schema_name] [TABLE table_name] [PARTITION partition_name]
  • SHOW PLACEMENT LIKE should return a list of PLACEMENT POLICIES that have been loaded in the TiDB server.
  • SHOW PLACEMENT FOR should summarize the placement rules of the object that has been specified. It will need to query PD to show the current scheduling state. See the "SHOW PLACEMENT" section of the syntax RFC.
  • Privileges for SHOW PLACEMENT and SHOW PLACEMENT FOR
@lcwangchao
Copy link
Collaborator

/assign lcwangchao

@lcwangchao
Copy link
Collaborator

Parser finished with pr:

@morgo
Copy link
Contributor Author

morgo commented Sep 7, 2021

I have moved the tasks of this sub-issue to #18030

This was a suggestion to make it easier to see what tasks are unassigned. It makes sense to me, so I am going to close this issue.

@morgo morgo closed this as completed Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants