MuhammadTahaNaveed commented on PR #2082:
URL: https://github.com/apache/age/pull/2082#issuecomment-2321536735
> @rafsun42 The second CREATE command has AB and C as labels but the
relation for AB and _agr_AB_C was not created.
With merge it caused an assertion failure
```
multi-label-PR-review=# CREATE EXTENSION age;
CREATE EXTENSION
multi-label-PR-review=# SET search_path=ag_catalog;
SET
multi-label-PR-review=# SELECT create_graph('graph');
NOTICE: graph "graph" has been created
create_graph
--------------
(1 row)
multi-label-PR-review=# SELECT * FROM cypher('graph', $$CREATE (x:A:B:C)$$)
as (a agtype);
a
---
(0 rows)
multi-label-PR-review=# SELECT * FROM cypher('graph', $$MERGE (x:AB:C)$$) as
(a agtype);
TRAP: failed Assert("IsA(sss, SubqueryScanState)"), File:
"src/backend/executor/cypher_merge.c", Line: 312, PID: 42605
postgres: taha-linux multi-label-PR-review [local]
SELECT(ExceptionalCondition+0x6e)[0x56187d565e11]
../postgres-16/pgsql/lib/age.so(+0x17d16)[0x7fb668ebdd16]
../postgres-16/pgsql/lib/age.so(+0x17fc7)[0x7fb668ebdfc7]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]