Imported from kuzudb/kuzu#6050
Original URL: kuzudb#6050
Original author: @mdbenito
Original created at: 2025-10-07T17:12:58Z
Kuzu version
v0.11.2
What operating system are you using?
Ubuntu 24.04
What happened?
With the following data:
CREATE NODE TABLE Person(name STRING PRIMARY KEY, occupation STRING);
CREATE REL TABLE LivesWith(FROM Person TO Person);
CREATE (p:Person {name: 'Alice'})-[:LivesWith]->(:Person {name: 'Bob'});
It is possible to extract a label from the path with:
MATCH p = (n)-[:LivesWith]->(m:Person {name: 'Bob'})
WITH nodes(p) AS ns
RETURN properties(ns, "_LABEL")[1];
But the following segfaults:
MATCH p = (n)-[:LivesWith]->(m:Person {name: 'Bob'})
WITH nodes(p) AS ns
RETURN label(ns[1]);
Imported from
kuzudb/kuzu#6050Original URL: kuzudb#6050
Original author: @mdbenito
Original created at: 2025-10-07T17:12:58Z
Kuzu version
v0.11.2
What operating system are you using?
Ubuntu 24.04
What happened?
With the following data:
It is possible to extract a label from the path with:
But the following segfaults: