jrgemignani commented on PR #2303:
URL: https://github.com/apache/age/pull/2303#issuecomment-3741357175
@MuhammadTahaNaveed
**Current master branch**
```
psql-17.4-5432-pgsql=# SELECT create_graph('bug_demo');
NOTICE: graph "bug_demo" has been created
create_graph
--------------
(1 row)
psql-17.4-5432-pgsql=# SELECT * FROM cypher('bug_demo', $$ CREATE (:Person
{name: 'Alice'}) $$) AS (v agtype);
v
---
(0 rows)
psql-17.4-5432-pgsql=# SELECT * FROM cypher('bug_demo', $$ CREATE (:Person
{name: 'Bob'}) $$) AS (v agtype);
v
---
(0 rows)
psql-17.4-5432-pgsql=# SELECT * FROM cypher('bug_demo', $$
psql-17.4-5432-pgsql$# MATCH (a:Person), (b:Person)
psql-17.4-5432-pgsql$# WHERE a IN [a, b]
psql-17.4-5432-pgsql$# RETURN a.name
psql-17.4-5432-pgsql$# $$) AS (name agtype);
name
---------
"Alice"
"Alice"
"Bob"
"Bob"
(4 rows)
```
**PR 2303**
```
psql-17.7-5432-pgsql=# SELECT create_graph('bug_demo');
SELECT * FROM cypher('bug_demo', $$ CREATE (:Person {name: 'Alice'}) $$) AS
(v agtype);
SELECT * FROM cypher('bug_demo', $$ CREATE (:Person {name: 'Bob'}) $$) AS (v
agtype);
SELECT * FROM cypher('bug_demo', $$
MATCH (a:Person), (b:Person)
WHERE a IN [a, b]
RETURN a.name
$$) AS (name agtype);
NOTICE: graph "bug_demo" has been created
create_graph
--------------
(1 row)
v
---
(0 rows)
v
---
(0 rows)
ERROR: operator is not unique: vertex = vertex
LINE 3: WHERE a IN [a, b]
^
HINT: Could not choose a best candidate operator. You might need to add
explicit type casts.
```
--
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]