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

Bug: Segmentation fault error for list lambda function x -> label(x) ... #4541

Open
sapalli2989 opened this issue Nov 18, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@sapalli2989
Copy link
Contributor

sapalli2989 commented Nov 18, 2024

Kùzu version

v0.7.0

What operating system are you using?

No response

What happened?

Setup:

CREATE NODE TABLE V(id INT64, PRIMARY KEY(id));
CREATE (:V {id: 1});

Reproduction:

kuzu> MATCH p = () RETURN list_transform(nodes(p), x -> label(x));
Segmentation fault (core dumped)

kuzu> MATCH p = () RETURN list_filter(nodes(p), x -> label(x) = "V");
Segmentation fault (core dumped)

Workaround:

MATCH p = () RETURN list_transform(nodes(p), x -> x._label);
MATCH p = () RETURN list_filter(nodes(p), x -> x._label = "V");
MATCH p = () RETURN properties(nodes(p), "_label");

Are there known steps to reproduce?

No response

@sapalli2989 sapalli2989 added the bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants