jrgemignani commented on issue #885:
URL: https://github.com/apache/age/issues/885#issuecomment-1529915419

   @DominicWuest Neo4j doesn't use nor have AGTYPE. Because of that, it won't 
complain. 
   
   The problem here is that you are trying to UNION a container type (or 
composite type) without specifying what it contains. AGTYPE can be many things, 
you need to specify what it is in this case.
   
   ```
    psql-11.5-5432-pgsql=# SELECT * from cypher('graph1', $$ RETURN 
0::pg_bigint AS x UNION RETURN COUNT(0) AS x $$) as g1(result agtype);
    result
   --------
    0
    1
   (2 rows)
   
   psql-11.5-5432-pgsql=#
   ```
   


-- 
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]

Reply via email to