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

Incorrect lower & upper bound on element pattern with WHERE and bounded path-finding #94

Open
Dtenwolde opened this issue Feb 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working high priority

Comments

@Dtenwolde
Copy link
Contributor

Dtenwolde commented Feb 16, 2024

Test in shortest_path.test

-FROM GRAPH_TABLE (snb
	MATCH p = ANY SHORTEST (a:Person where a.name = 'Daniel')-[k:knows]->{2,3}(b:Person)
	COLUMNS(element_id(p), a.name, b.name)

Potential cause: The lower and upper bounds are 1 & 1 because the previous element pattern is seen as a Subpath because of the filter.

Another query where this goes wrong

-FROM GRAPH_TABLE (pg
    MATCH
    p = ANY SHORTEST (a:Person)-[k:knows]->{2,3}(b:Person)
    COLUMNS (path_length(p), element_id(p), a.name as name, b.name as b_name)
    ) study
    order by study.name, study.b_name;
@Dtenwolde Dtenwolde added bug Something isn't working high priority labels Feb 16, 2024
@Dtenwolde Dtenwolde self-assigned this Feb 16, 2024
@SiberiaWolfP SiberiaWolfP linked a pull request Feb 18, 2024 that will close this issue
Copy link

github-actions bot commented Sep 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Sep 3, 2024
@Dtenwolde Dtenwolde removed the stale label Sep 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 3, 2024
@Dtenwolde Dtenwolde removed the stale label Dec 3, 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 high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant