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

graphd return unexpected BAD_TYPE result #5249

Closed
nebula-bots opened this issue Jan 12, 2023 · 0 comments · Fixed by #5230
Closed

graphd return unexpected BAD_TYPE result #5249

nebula-bots opened this issue Jan 12, 2023 · 0 comments · Fixed by #5230
Assignees
Labels
affects/master PR/issue: this bug affects master version. auto-sync find/automation process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@nebula-bots
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Look at the query below:

(root@nebula) [gdlancer]>  MATCH p0 = (v0)<-[e0]-()-[e1]->() WHERE (id(v0) in [20, 18, 23, 9, 13, 15, 6, 4, 21, 28, 28]) AND (e0.Rel_0_0_Bool) MATCH (v1)-[e2]->()-[e3:Rel_0]->() WHERE (id(v1) in [7, 30, 17, 4, 27, 2, 15, 10, 26, 1, 3]) AND (e0.Rel_0_0_Bool) UNWIND nodes(p0) AS ua0 WITH ua0, e2.Rel_4_0_Bool AS pa0, e2 return  ua0, ua0.Label_6.Label_6_0_Int skip 1 limit 1
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------+
| ua0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ua0.Label_6.Label_6_0_Int |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------+
| (6 :Label_6{Label_6_0_Int: 95, Label_6_1_Bool: false, Label_6_2_String: "Null2", Label_6_3_String: "Vince Carter", Label_6_4_Int: 20, Label_6_5_Int: 17, Label_6_6_String: "Yao Ming"} :Label_3{Label_3_0_Bool: true, Label_3_1_String: "Ray Allen", Label_3_2_Bool: true, Label_3_3_String: "Joel Embiid", Label_3_4_String: "Null3", Label_3_5_Int: 91, Label_3_6_Bool: false} :Label_2{Label_2_0_Double: 0.643548, Label_2_1_Int: 62, Label_2_2_Double: 0.160841, Label_2_3_String: "Paul Gasol", Label_2_4_Int: 52, Label_2_5_Double: 0.104409, Label_2_6_Double: 0.75736} :Label_4{Label_4_0_Int: 56, Label_4_1_String: "Rajon Rondo", Label_4_2_Bool: false, Label_4_3_Double: 0.900835} :Label_0{Label_0_0_String: "Danny Green", Label_0_1_String: "Null3", Label_0_2_String: "Ben Simmons", Label_0_3_Bool: false, Label_0_4_Int: 36, Label_0_5_Int: 9}) | BAD_TYPE                  |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------+
Got 1 rows (time spent 53.61ms/72.355084ms)

Thu, 12 Jan 2023 14:44:00 CST

(root@nebula) [gdlancer]>

ua0 is a vertex with tag label_6 and ua0.Label_6.Label_6_0_Int == 95, but graph return BAD_TYPE for ua0.Label_6.Label_6_0_Int.

Your Environments (required)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@nebula-bots nebula-bots added affects/master PR/issue: this bug affects master version. auto-sync find/automation severity/major Severity of bug type/bug Type: something is unexpected labels Jan 12, 2023
@xtcyclist xtcyclist added this to the v3.4.0 milestone Jan 12, 2023
@github-actions github-actions bot added the process/fixed Process of bug label Jan 13, 2023
@Hester-Gu Hester-Gu added the process/done Process of bug label Jan 13, 2023
@github-actions github-actions bot removed the process/fixed Process of bug label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/master PR/issue: this bug affects master version. auto-sync find/automation process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants