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

[YSQL] Master UI: Users should be able to find the tablegroup ID from the tablegroup name #11597

Closed
lnguyen-yugabyte opened this issue Feb 25, 2022 · 2 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@lnguyen-yugabyte
Copy link
Contributor

lnguyen-yugabyte commented Feb 25, 2022

Jira Link: DB-988

Description

Currently the tablegroup name is displayed as following on the UI / queried via yb-admin: [000033e1000030008000000000004101.tablegroup.parent.tablename]

Instead, we should be able to show the tablegroup name as created by user.

(Note that currently it's possible to look up the tablegroup ID from name in an indirect way: look up the YSQL OID associated with the table, and look up on the UI the tablegroup ID with the given OID. However we should not have to resort through YSQL OID for this.)

@frozenspider
Copy link
Contributor

frozenspider commented Mar 11, 2022

Technical details/implementation idea:
ID 000033e1000030008000000000004101 can be parsed to get database OID and table OID (which is actually a tablegroup OID). We can then do a lookup in pg_yb_tablegroup table by OID to get the actual group name.

@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 8, 2022
@yugabyte-ci yugabyte-ci assigned tverona1 and unassigned hulien22 Jul 26, 2022
@tverona1 tverona1 changed the title [YSQL] Users should be able to find the tablegroup ID from the tablegroup name [YSQL] Master UI: Users should be able to find the tablegroup ID from the tablegroup name Sep 22, 2022
@yugabyte-ci yugabyte-ci added status/awaiting-triage Issue awaiting triage and removed status/awaiting-triage Issue awaiting triage labels Sep 22, 2022
@tverona1
Copy link
Contributor

Closing this as a duplicate of #5086. We won't show tablegroup name as part of colocation GA.

@tverona1 tverona1 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

5 participants