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

Redundant declaration of properties when inserting vertices #2466

Closed
kindlychung opened this issue Apr 5, 2021 · 3 comments
Closed

Redundant declaration of properties when inserting vertices #2466

kindlychung opened this issue Apr 5, 2021 · 3 comments

Comments

@kindlychung
Copy link

Example:

CREATE TAG player(name string, age int);
INSERT VERTEX player(name, age) VALUES "player100":("Tim Duncan", 42);

We are basically delaring the player type twice here.

Ideally we should be allowed to do:

INSERT VERTEX player VALUES "player100":("Tim Duncan", 42);
@jude-zhu
Copy link
Contributor

jude-zhu commented Apr 13, 2021

Do u mean, if adding values for all the props of a tag/ an edge, users do not need to specify the property names?

@kindlychung
Copy link
Author

Do u mean, if adding values for all the props of a tag/ an edge, users do not need to specify the property names?

Yeah.

@CPWstatic
Copy link
Contributor

Implemented by vesoft-inc/nebula-graph#971

yixinglu pushed a commit to yixinglu/nebula that referenced this issue Sep 14, 2023
* add ifNotExist to CreateSpaceAs

* fix tck format

* fix tck format

* fix old space

* fix tck test

* improve pytest

Co-authored-by: pengwei.song <90180021+pengweisong@users.noreply.github.com>
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