apache / age

Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL.
https://age.apache.org
Apache License 2.0
3.15k stars 412 forks source link

"|" causes syntax error #2091

Open dberardo-com opened 2 months ago

dberardo-com commented 2 months ago

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:

if so:

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.

alexgraul commented 2 months ago

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.

github-actions[bot] commented 2 weeks ago

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.

dberardo-com commented 2 weeks ago

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