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 list the partition specified in console #1226

Closed
zhangguoqing opened this issue Nov 7, 2019 · 5 comments
Closed

Support list the partition specified in console #1226

zhangguoqing opened this issue Nov 7, 2019 · 5 comments
Assignees

Comments

@zhangguoqing
Copy link
Contributor

zhangguoqing commented Nov 7, 2019

Is your feature request related to a problem? Please describe.
It 's maybe a subtask of the PR #1086, that from the discussion.

Describe the solution you'd like

  1. The specified partition ID as the parameter.
    (user@ip) [space]> SHOW PART 666;
  2. The result is sorted by partition IDs, so it maybe use the LIMIT clause easily.
    (user@ip) [space]> SHOW PARTS | LIMIT 666, 1
  3. Both of the above are implemented.

Which solution should we choose?

@zhangguoqing zhangguoqing self-assigned this Nov 7, 2019
@dangleptr
Copy link
Contributor

I think we could support "show part $ID" firstly. It is more useful.

@zhangguoqing
Copy link
Contributor Author

I think we could support "show part $ID" firstly. It is more useful.

OK, it will be implemented after the Issue #1173 is fixed. The leader distribution of partition is get from meta server directly.

@amber-moe
Copy link
Contributor

Definitely, I think SHOW PARTS can be used with LIMIT is reasonable, after all, I'm not expecting a part list as long as 1024.

@critical27
Copy link
Contributor

I guess SHOW PART 666 is enough for now.

@zhangguoqing
Copy link
Contributor Author

@jude-zhu This issue is support show part $ID rather than show parts command!

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

5 participants