age icon indicating copy to clipboard operation
age copied to clipboard

"|" causes syntax error

Open dberardo-com opened this issue 1 year ago • 1 comments

i am trying to use the pipe operator similarly to: https://neo4j.com/docs/cypher-manual/current/clauses/match/#match-on-multiple-rel-types

MATCH (wallstreet {title: 'Wall Street'})<-[:ACTED_IN|DIRECTED]-(person) RETURN person.name

but it gives me syntax error.

is this operation supported? and if not:

  • what are alternatives?

if so:

  • is it supported for traversal as well, i.e. [:ACTED_IN*|DIRECTED*]

and more in general: the documentation does not make reference to the cypher specification the AGE adheres to. i am going through neo4j doc in order to figure that out, but i am not sure why there is no real doc about it on the AGE official website.

dberardo-com avatar Sep 08 '24 13:09 dberardo-com

Hey, this is a duplicate of https://github.com/apache/age/issues/1714 , there's a workaround there but no resolution. More broadly AGE should support OpenCypher, which does have some differences from Neo4J's Cypher implementation.

alexgraul avatar Sep 09 '24 01:09 alexgraul

This issue is stale because it has been open 60 days with no activity. Remove "Abondoned" label or comment or this will be closed in 14 days.

github-actions[bot] avatar Nov 09 '24 00:11 github-actions[bot]

Alright, thanks for the info. If this is a duplicate it could be closed I guess?

dberardo-com avatar Nov 09 '24 10:11 dberardo-com

This issue is stale because it has been open 60 days with no activity. Remove "Abondoned" label or comment or this will be closed in 14 days.

github-actions[bot] avatar Jan 10 '25 00:01 github-actions[bot]

This issue was closed because it has been stalled for further 14 days with no activity.

github-actions[bot] avatar Jan 25 '25 00:01 github-actions[bot]