jrgemignani commented on issue #365:
URL: https://github.com/apache/age/issues/365#issuecomment-1332988727
@Hyundong-Seo, I am unable to reproduce your issue. So, I will need more
information -
1. What is the dataset that you are using? How is it loaded? Where is it
from?
2. Where is the **v.id** that you are looking for from?
For that id - `WHERE v.id = '962072674361'` - is that from the vertex's
internal id or is it from some property that is stored and named id?
I should note that if it is from the vertex's id, you need to use the id()
function -
```
psql-11.5-5432-pgsql=# SELECT * from cypher('graph1', $$ MATCH
(v:comment)-[e:hascreatorcomment]->(v2:person)
WHERE v.id = 844424930131969 RETURN v, v2 $$) as (v agtype, v2 agtype);
v | v2
---+----
(0 rows)
psql-11.5-5432-pgsql=# SELECT * from cypher('graph1', $$ MATCH
(v:comment)-[e:hascreatorcomment]->(v2:person)
WHERE id(v) = 844424930131969 RETURN v, v2 $$) as (v agtype, v2 agtype);
v |
v2
-----------------------------------------------------------------------+------------------------------------------------------------
-----------
{"id": 844424930131969, "label": "comment", "properties": {}}::vertex |
{"id": 1407374883553281, "label": "person", "properties": {
}}::vertex
(1 row)
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]