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

How to change the property name in a tag or edge type #1385

Closed
wilsonyou opened this issue Dec 6, 2019 · 2 comments
Closed

How to change the property name in a tag or edge type #1385

wilsonyou opened this issue Dec 6, 2019 · 2 comments
Labels
community Source: who proposed the issue priority/med-pri Priority: medium type/feature req Type: feature request

Comments

@wilsonyou
Copy link

I tried to use the ALTER statement to change the property name of a tag I created in my space.
But according to the doc https://github.com/vesoft-inc/nebula/blob/master/docs/manual-EN/2.query-language/4.statement-syntax/1.data-definition-statements/alter-tag-edge-syntax.md
there is no support for such operation. Do you support this feature at this time being, or will you support in the future?

@bright-starry-sky
Copy link
Contributor

One suggestion,maybe we can refer to mysql:
ALTER TABLE tbl_name CHANGE [COLUMN] old_col_name new_col_name column_definition

@amber-moe
Copy link
Contributor

You can't change the tag or edge name at the moment, ALTER is used to add, change and drop properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Source: who proposed the issue priority/med-pri Priority: medium type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

7 participants