DominicWuest opened a new issue, #885:
URL: https://github.com/apache/age/issues/885

   When running the following query:
   ```cypher
   RETURN 0 AS x UNION RETURN COUNT(0) AS x
   ```
   
   I encountered the following error:
   ```
   pq: UNION types agtype and bigint cannot be matched
   ```
   
   I believe the query mentioned above is semantically and syntactically 
correct and thus no error should be thrown here.
   Additionally, the query runs successfully in neo4j.
   
   I encountered this issue when testing queries against the 
**apache/age:PG13_latest** docker image.
   
   ### Steps to reproduce
   Run the following query and observe it throws an error:
   ```cypher
   RETURN 0 AS x UNION RETURN COUNT(0) AS x
   ```
   
   ### Expected behavior
   The query should run successfully
   
   ### Actual behavior
   The query fails with the error message `UNION types agtype and bigint cannot 
be matched`.


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