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

Add which tag relative to current index when describe index #2259

Closed
nianiaJR opened this issue Jul 29, 2020 · 1 comment
Closed

Add which tag relative to current index when describe index #2259

nianiaJR opened this issue Jul 29, 2020 · 1 comment
Assignees

Comments

@nianiaJR
Copy link

nianiaJR commented Jul 29, 2020

Is your feature request related to a problem? Please describe.
During I develope the GUI tool for nebula look-up, I want to know which the tag is relative to the current index I select. It will help me improve the interaction when user uses our look-up function, for example, he selects on index, then our tool will just provide the relative tags for him to select.

Describe the solution you'd like
Nebula has the query like : Describe Tag index index_demo.

// current output

Field Type
name string

// idea output

Field Type
{tag}.name string

add which tag the field belongs to.

Describe alternatives you've considered
There is another way I can get the relationship between tag and index, but I think it's a little tricky.
image

By parsing the Create Tag index gql, I can get the tag name too.

@jude-zhu
Copy link
Contributor

u can use SHOW CREATE TAG INDEX statement

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

3 participants