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

Parser exception for multi-list extract/slicing syntax #968

Closed
aziz-mu opened this issue Nov 11, 2022 · 0 comments
Closed

Parser exception for multi-list extract/slicing syntax #968

aziz-mu opened this issue Nov 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working testing Testing related issues

Comments

@aziz-mu
Copy link
Contributor

aziz-mu commented Nov 11, 2022

Currently, slicing/extracting a list of list and then extracting or slicing the results is permitted, if done like so:
MATCH (a:person) RETURN (a:courseScoresPerTerm[1])[1]
however, the following syntax gives a parser error:
MATCH (a:person) RETURN a:courseScoresPerTerm[1][1]

Currently, openCypher supports this syntax so we should too.

@aziz-mu aziz-mu added the bug Something isn't working label Nov 11, 2022
@aziz-mu aziz-mu self-assigned this Nov 11, 2022
@semihsalihoglu-uw semihsalihoglu-uw added the testing Testing related issues label Nov 12, 2022
@aziz-mu aziz-mu mentioned this issue Nov 21, 2022
@aziz-mu aziz-mu closed this as completed Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing Testing related issues
Projects
None yet
Development

No branches or pull requests

3 participants