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

I got a ERROR when I try the sample nGQL---Wrong vertex id type: 100 #2436

Closed
bwboy opened this issue Jan 12, 2021 · 2 comments
Closed

I got a ERROR when I try the sample nGQL---Wrong vertex id type: 100 #2436

bwboy opened this issue Jan 12, 2021 · 2 comments

Comments

@bwboy
Copy link

bwboy commented Jan 12, 2021

I use docker run Nebula 2.0 Verison.
And when I try the Guide on "https://docs.nebula-graph.com.cn/manual-CN/1.overview/2.quick-start/1.get-started/"
while I input

INSERT VERTEX player(name, age) VALUES 100:("Tim Duncan", 42);

I got ERROR info "Wrong vertex id type: 100"
Then , I change my nGQL to

INSERT VERTEX player(name, age) VALUES "100":("Tim Duncan", 42);

It's running OK...
Is this Version

@jievince
Copy link
Contributor

neubla 2.0's default vid type is string. If you want to use int type vid in nebula 2.0, you should specify it when creating space: https://docs.nebula-graph.io/2.0/3.ngql-guide/9.space-statements/1.create-space/

@bwboy
Copy link
Author

bwboy commented Jan 12, 2021

neubla 2.0's default vid type is string. If you want to use int type vid in nebula 2.0, you should specify it when creating space: https://docs.nebula-graph.io/2.0/3.ngql-guide/9.space-statements/1.create-space/

Got it,Thanks

codesigner pushed a commit to codesigner/nebula that referenced this issue Mar 30, 2023
* Fix the crash when lookup parameter expression eval in storage (vesoft-inc#2436)

* Small fix for parameter tck (vesoft-inc#2457)

Co-authored-by: kyle.cao <kyle.cao@vesoft.com>

* Fix crash of list related functions (vesoft-inc#2467)

* fix conflicts

* fix conflict

---------

Co-authored-by: nebula-bots <88429921+nebula-bots@users.noreply.github.com>
Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
yixinglu pushed a commit to yixinglu/nebula that referenced this issue Sep 14, 2023
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