CapnSpek commented on issue #829:
URL: https://github.com/apache/age/issues/829#issuecomment-1519144826

   > `MATCH (u),(u:Person) RETURN u`
   > 
   > But this same query errors out in AGE saying `ERROR: multiple labels for 
variable 'u' are not supported`
   
   I'm not sure why, but this query does not give an error for me. I'm using 
AGE 1.3.0 and it gives this output.
   
   ```
   test=# SELECT * from cypher('test', $$
         MATCH (u)                                                              
  
         MATCH (u:Person)
         RETURN u
   $$) as (a agtype);
                                                        a                       
                               
   
------------------------------------------------------------------------------------------------------------
    {"id": 281474976710657, "label": "", "properties": {"name": 
"bobby"}}::vertex
    {"id": 281474976710658, "label": "", "properties": {"age": 25, "name": 
"bobby"}}::vertex
    {"id": 1125899906842625, "label": "Person", "properties": {"name": 
"bobby"}}::vertex
    {"id": 1125899906842626, "label": "Person", "properties": {"name": 
"bobby"}}::vertex
    {"id": 1407374883553281, "label": "Bobby", "properties": {"name": 
"bobby"}}::vertex
    {"id": 1407374883553282, "label": "Bobby", "properties": {"age": 25, 
"name": "bobby", "cigar": 2}}::vertex
   (6 rows)
   ```
   


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