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 delete a tag from a vertex #2010

Closed
Qubutol opened this issue Mar 28, 2020 · 1 comment
Closed

Support delete a tag from a vertex #2010

Qubutol opened this issue Mar 28, 2020 · 1 comment
Assignees

Comments

@Qubutol
Copy link

Qubutol commented Mar 28, 2020

How to delete a tag from a vertex,now we can delete a vertex by vid, but when I delete a vertex, nebula will delete all related tags at the same time.

Describe the solution you'd like
I want nebula support detele tag from a vertex.
Example:

CREATE TAG player(name string, age int);
INSERT VERTEX player(name, age) VALUES 101:("Tony Parker", 36);
CREATE TAG person(name string, birth string);
INSERT VERTEX person(name,birth) VALUES 101:(“Tony Parker”, “1984-01-01”);

When I delete vertex 101, nebula will delete player and person tag.
I just need to delete player tag instead of delete all tags.
Could nebula implement statement such as [DELETE tag_name FROM vid]?

@CPWstatic
Copy link
Contributor

we had support this one in the version 2.0.

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

6 participants