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

   Tests that may require code changes.
   File - cypher_unwind
   
   Line 150
   
   ```
   SELECT * FROM cypher('cypher_unwind', $$
       MATCH p=({name:'node1'})-[e:KNOWS*]->({name:'node3'})
       UNWIND [p] as path
       RETURN path
   $$) as (i agtype);
   -                                                                            
                                                                                
                                                                                
                                                         i                      
                                                                                
                                                                                
                                                                                
                               
   
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   - [{"id": 281474976710657, "label": "_ag_label_vertex", "properties": {"a": 
[1, 2, 3], "name": "node1"}}::vertex, {"id": 844424930131969, "label": "KNOWS", 
"end_id": 281474976710658, "start_id": 281474976710657, "properties": 
{}}::edge, {"id": 281474976710658, "label": "_ag_label_vertex", "properties": 
{"a": [4, 5, 6], "name": "node2"}}::vertex, {"id": 844424930131970, "label": 
"KNOWS", "end_id": 281474976710659, "start_id": 281474976710658, "properties": 
{}}::edge, {"id": 281474976710659, "label": "_ag_label_vertex", "properties": 
{"a": [7, 8, 9], "name": "node3"}}::vertex]::path
   -(1 row)
   -
   +ERROR:  match_vle_terminal_edge() argument 1 must be an agtype integer or a 
graphid
   
   
   SELECT * FROM cypher('cypher_unwind', $$
       MATCH p=({name:'node1'})-[e:KNOWS*]->({name:'node3'})
       UNWIND [p] as path
       RETURN relationships(path)
   $$) as (i agtype);
   -                                                                            
                                               i                                
                                                                                
            
   
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   - [{"id": 844424930131969, "label": "KNOWS", "end_id": 281474976710658, 
"start_id": 281474976710657, "properties": {}}::edge, {"id": 844424930131970, 
"label": "KNOWS", "end_id": 281474976710659, "start_id": 281474976710658, 
"properties": {}}::edge]
   -(1 row)
   -
   +ERROR:  match_vle_terminal_edge() argument 1 must be an agtype integer or a 
graphid
   
   
   SELECT * FROM cypher('cypher_unwind', $$
       MATCH p=({name:'node1'})-[e:KNOWS*]->({name:'node3'})
       UNWIND [p] as path
       UNWIND relationships(path) as edge
       RETURN edge
   $$) as (i agtype);
   -                                                             i              
                                               
   
----------------------------------------------------------------------------------------------------------------------------
   - {"id": 844424930131969, "label": "KNOWS", "end_id": 281474976710658, 
"start_id": 281474976710657, "properties": {}}::edge
   - {"id": 844424930131970, "label": "KNOWS", "end_id": 281474976710659, 
"start_id": 281474976710658, "properties": {}}::edge
   -(2 rows)
   -
   +ERROR:  match_vle_terminal_edge() argument 1 must be an agtype integer or a 
graphid
   
   ```


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