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

   Tests that may require code changes.
   File - cypher_set.out
   
   Line 165
   ```
   SELECT * FROM cypher('cypher_set', $$MATCH ()-[n]->(:other_v) RETURN n$$) AS 
(a agtype);
   -                                                                   a        
                                                            
   
-----------------------------------------------------------------------------------------------------------------------------------------
   - {"id": 1125899906842625, "label": "e", "end_id": 1407374883553281, 
"start_id": 281474976710657, "properties": {"i": 3, "j": 20}}::edge
   - {"id": 1125899906842626, "label": "e", "end_id": 1407374883553282, 
"start_id": 844424930131969, "properties": {"i": 3, "j": 20}}::edge
   - {"id": 1125899906842627, "label": "e", "end_id": 1407374883553283, 
"start_id": 844424930131971, "properties": {"i": 3, "j": 20}}::edge
   - {"id": 1125899906842628, "label": "e", "end_id": 1407374883553284, 
"start_id": 844424930131970, "properties": {"i": 3, "j": 20}}::edge
   -(4 rows)
   -
   +ERROR:  function ag_catalog._extract_label_id(bigint) does not exist
   +LINE 1: SELECT * FROM cypher('cypher_set', $$MATCH ()-[n]->(:other_v...
   +                                            ^
   +HINT:  No function matches the given name and argument types. You might 
need to add explicit type casts.
   
   ```
   
   File - cypher_remove.out
   
   Line 102
   ```
   SELECT * FROM cypher('cypher_remove', $$CREATE (:test_4 { i : 20 } 
)-[:test_4_edge {j:20}]->(:test_4 {i:10})$$) AS (a agtype);
   -                                                                     a      
                                                               
   
--------------------------------------------------------------------------------------------------------------------------------------------
   - {"id": 2251799813685249, "label": "test_4_edge", "end_id": 
1970324836974594, "start_id": 1970324836974593, "properties": {"j": 20}}::edge
   -(1 row)
   -
   +ERROR:  function ag_catalog._extract_label_id(bigint) does not exist
   +LINE 1: SELECT * FROM cypher('cypher_remove', $$MATCH ()-[n]->(:test...
   +                                               ^
   +HINT:  No function matches the given name and argument types. You might 
need to add explicit type casts.
   
   SELECT * FROM cypher('cypher_remove', $$MATCH ()-[n]->(:test_4) RETURN n$$) 
AS (a agtype);
   -                                                                     a      
                                                               
   
--------------------------------------------------------------------------------------------------------------------------------------------
   - {"id": 2251799813685249, "label": "test_4_edge", "end_id": 
1970324836974594, "start_id": 1970324836974593, "properties": {"j": 20}}::edge
   -(1 row)
   -
   +ERROR:  function ag_catalog._extract_label_id(bigint) does not exist
   +LINE 1: SELECT * FROM cypher('cypher_remove', $$MATCH ()-[n]->(:test...
   +                                               ^
   +HINT:  No function matches the given name and argument types. You might 
need to add explicit type casts.
   
   ```
   
   File - cypher_with.out
   ```
   
   SELECT * FROM cypher('cypher_with', $$
       MATCH p = (m)-[*1..2]->(b) 
       WITH p, length(p) AS path_length 
       WHERE path_length > 1 
       RETURN p
   $$) AS (pattern agtype);
   
   -                                                                            
                                                                                
                                                                                
                                                 pattern                        
                                                                                
                                                                                
                                                                                
                      
   
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   - [{"id": 281474976710657, "label": "_ag_label_vertex", "properties": 
{"age": 36, "name": "Andres"}}::vertex, {"id": 1125899906842625, "label": 
"KNOWS", "end_id": 281474976710659, "start_id": 281474976710657, "properties": 
{}}::edge, {"id": 281474976710659, "label": "_ag_label_vertex", "properties": 
{"age": 55, "name": "Bossman"}}::vertex, {"id": 1125899906842627, "label": 
"KNOWS", "end_id": 281474976710661, "start_id": 281474976710659, "properties": 
{}}::edge, {"id": 281474976710661, "label": "_ag_label_vertex", "properties": 
{"age": 37, "name": "George"}}::vertex]::path
   - [{"id": 281474976710657, "label": "_ag_label_vertex", "properties": 
{"age": 36, "name": "Andres"}}::vertex, {"id": 1125899906842625, "label": 
"KNOWS", "end_id": 281474976710659, "start_id": 281474976710657, "properties": 
{}}::edge, {"id": 281474976710659, "label": "_ag_label_vertex", "properties": 
{"age": 55, "name": "Bossman"}}::vertex, {"id": 844424930131970, "label": 
"BLOCKS", "end_id": 281474976710660, "start_id": 281474976710659, "properties": 
{}}::edge, {"id": 281474976710660, "label": "_ag_label_vertex", "properties": 
{"age": 35, "name": "David"}}::vertex]::path
   - [{"id": 281474976710657, "label": "_ag_label_vertex", "properties": 
{"age": 36, "name": "Andres"}}::vertex, {"id": 844424930131969, "label": 
"BLOCKS", "end_id": 281474976710658, "start_id": 281474976710657, "properties": 
{}}::edge, {"id": 281474976710658, "label": "_ag_label_vertex", "properties": 
{"age": 25, "name": "Caesar"}}::vertex, {"id": 1125899906842626, "label": 
"KNOWS", "end_id": 281474976710661, "start_id": 281474976710658, "properties": 
{}}::edge, {"id": 281474976710661, "label": "_ag_label_vertex", "properties": 
{"age": 37, "name": "George"}}::vertex]::path
   - [{"id": 281474976710659, "label": "_ag_label_vertex", "properties": 
{"age": 55, "name": "Bossman"}}::vertex, {"id": 844424930131970, "label": 
"BLOCKS", "end_id": 281474976710660, "start_id": 281474976710659, "properties": 
{}}::edge, {"id": 281474976710660, "label": "_ag_label_vertex", "properties": 
{"age": 35, "name": "David"}}::vertex, {"id": 1125899906842628, "label": 
"KNOWS", "end_id": 281474976710657, "start_id": 281474976710660, "properties": 
{}}::edge, {"id": 281474976710657, "label": "_ag_label_vertex", "properties": 
{"age": 36, "name": "Andres"}}::vertex]::path
   - [{"id": 281474976710660, "label": "_ag_label_vertex", "properties": 
{"age": 35, "name": "David"}}::vertex, {"id": 1125899906842628, "label": 
"KNOWS", "end_id": 281474976710657, "start_id": 281474976710660, "properties": 
{}}::edge, {"id": 281474976710657, "label": "_ag_label_vertex", "properties": 
{"age": 36, "name": "Andres"}}::vertex, {"id": 1125899906842625, "label": 
"KNOWS", "end_id": 281474976710659, "start_id": 281474976710657, "properties": 
{}}::edge, {"id": 281474976710659, "label": "_ag_label_vertex", "properties": 
{"age": 55, "name": "Bossman"}}::vertex]::path
   - [{"id": 281474976710660, "label": "_ag_label_vertex", "properties": 
{"age": 35, "name": "David"}}::vertex, {"id": 1125899906842628, "label": 
"KNOWS", "end_id": 281474976710657, "start_id": 281474976710660, "properties": 
{}}::edge, {"id": 281474976710657, "label": "_ag_label_vertex", "properties": 
{"age": 36, "name": "Andres"}}::vertex, {"id": 844424930131969, "label": 
"BLOCKS", "end_id": 281474976710658, "start_id": 281474976710657, "properties": 
{}}::edge, {"id": 281474976710658, "label": "_ag_label_vertex", "properties": 
{"age": 25, "name": "Caesar"}}::vertex]::path
   -(6 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