age
age copied to clipboard
CREATE node with multiple labels
Describe the bug Can you confirm AGE is compliant with opencypher spec v9 ?
CREATE (:Label1:Label2) not working
How are you accessing AGE (Command line, driver, etc.)?
- [e.g. JDBC]
What data setup do we need to do? Nothing
What is the necessary configuration info needed? Nothing
What is the command that caused the error?
SELECT *
FROM cypher('graph', $$
CREATE (n:Label1:Label2)
RETURN n
$$) as (a agtype);
ERROR: syntax error at or near ":"
Expected behavior Create node with multiple labels
Environment (please complete the following information):
- Version: [e.g. 1.0.0]
I see https://github.com/apache/age/issues/187
Can you add informations about opencypher specifications support ?
It was an early design decision to not explicitly allow multiple labels for a vertex or edge in AGE. This was largely due to performance issues. Our team would need to revisit and discuss whether we would want to add that functionality. So, for now, multiple labels are not supported.