kuzudb / kuzu

Embeddable property graph database management system built for query speed and scalability. Implements Cypher.
https://kuzudb.com/
MIT License
1.32k stars 94 forks source link

Bug: Segmentation fault on v0.6.0 #4306

Open joyemang33 opened 1 week ago

joyemang33 commented 1 week ago

Kùzu version

v0.6.0

What operating system are you using?

Ubuntu 22.04

What happened?

MATCH (n1:L1:L2)-[]-(n2:L4:L5) RETURN COUNT(*)
=> 42
MATCH (n2:L4:L5)-[]-(n1:L1:L2) RETURN COUNT(*)
=> Segmentation fault (core dumped)

The graph data can be generated by the following file create.log

Are there known steps to reproduce?

No response

acquamarin commented 1 week ago

Hi @joyemang33 This query returns an empty result for me:

MATCH (n1:L1:L2)-[]-(n2:L4:L5) RETURN COUNT(*)
=> 42

I can't find a rel table which is from L1->L4, L1->L5, L2->L4, L2->L5. What i get from executing the create.log file is 7 rel tables: T0(FROM L5 TO L4) T1(FROM L0 TO L7) T2(FROM L3 TO L5) T3(FROM L3 TO L7) T4(FROM L0 TO L2) T5(FROM L3 TO L3) T6(FROM L3 TO L1) T7(FROM L1 TO L7) Is there a typo in your query? Thanks, Ziyi

joyemang33 commented 1 week ago

Sorry for that, I'll check it : (