Skip to content

Conversation

@dogofbrian
Copy link
Contributor

New error codes (and one message update) for path mode semantic checking

@arnefischereit arnefischereit added the team-cypher-planner Changes that Team Cypher Planner should look into label Oct 27, 2025
Copy link
Collaborator

@renetapopova renetapopova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @dogofbrian. I added some comments.

= 42N60

== Status description
error: syntax error or access rule violation - unsupported combination of match mode and path mode. REPEATABLE ELEMENTS with `{ <<pathMode>> }` path mode is not supported.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is REPEATABLE ELEMENTS capitalized?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also add an explanation/ example scenario for each of the errors? See 22N71, 22N69, 22NAB, 42I64, and many more for inspiration.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REPEATABLE ELEMENTS are capitalised because they are keywords.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the three new / altered codes, I have added examples and, where I could make it work, possible solutions

@renetapopova renetapopova self-assigned this Oct 28, 2025
@blouerat blouerat self-assigned this Oct 29, 2025
Copy link
Collaborator

@renetapopova renetapopova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've found a typo. Otherwise, looks good.

Co-authored-by: Reneta Popova <[email protected]>
@renetapopova renetapopova merged commit 75b37fe into neo4j:dev Nov 4, 2025
4 checks passed
@neo4j-docops-agent
Copy link
Collaborator

neo4j-docops-agent commented Nov 4, 2025

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025.11 team-cypher-planner Changes that Team Cypher Planner should look into

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants