-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
first query result contains a wrong string field null value #5177
Comments
Did you always get the unexpected results after insertion? Or it exists only at the first time and do you check the result of the next 10 same queries? I guess the inserted data might not be ready for the first query, so you got the NULL column. |
As shown above, I'm not able to reproduce this issue. The first query executed immediately after the last insert returns valid results. And, it repeats fine. Please make sure all the inserts have been executed successfully, before issuing the match query in your codes. |
I update the label of this issue to |
here are the whole code.
java code:
|
@xtcyclist the way using nebula-console: /usr/local/bin/nebula-console -u XX -p XX --address=graphd --port=9669 Tue, 03 Jan 2023 06:27:51 UTC (root@nebula) [test]> use test;match (v:S)<-[]-(v1:I)<-[e3*3]-(v3:SIC) where id(v) == "sid1" and id(v3) in ["sicid1"] return id(v1) AS id, v1.I.name AS name,v1.I.level AS level Tue, 03 Jan 2023 06:27:52 UTC NOTE: must be the first query, and the "use test" and "match xxx" shall be sent in one query. |
Reproduced. |
This bug has been fixed by #5390.
|
nebula server 3.3.0, java sdk 3.3.0
schema and data:
query:
for (int i = 0; i < 10; i++) {
//...
use test;match (v:S)<-[]-(v1:I)<-[e3*3]-(v3:SIC) where id(v) == "sid1" and id(v3) in ["sicid1"] return id(v1) AS id, v1.I.name AS name,v1.I.level AS level
//...
}
expected:
10 same query with same result with name "s2"
unexpected:
first query result, name is null.
The text was updated successfully, but these errors were encountered: