Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions regress/expected/age_load.out
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ SELECT currval('agload_test_graph."Country_id_seq"')=248;
-- Should error out on loading the same file again due to duplicate id
SELECT load_labels_from_file('agload_test_graph', 'Country',
'age_load/countries.csv', true);
ERROR: Cannot insert duplicate vertex id: 844424930131970
HINT: Entry id 2 is already used
ERROR: duplicate key value violates unique constraint "Country_pkey"
DETAIL: Key (id)=(844424930131970) already exists.
--
-- Load cities with id
--
Expand All @@ -79,8 +79,8 @@ SELECT currval('agload_test_graph."City_id_seq"')=146941;
-- Should error out on loading the same file again due to duplicate id
SELECT load_labels_from_file('agload_test_graph', 'City',
'age_load/cities.csv', true);
ERROR: Cannot insert duplicate vertex id: 1125899906842777
HINT: Entry id 153 is already used
ERROR: duplicate key value violates unique constraint "City_pkey"
DETAIL: Key (id)=(1125899906842777) already exists.
--
-- Load edges -- Connects cities to countries
--
Expand Down
4 changes: 1 addition & 3 deletions regress/expected/cypher_call.out
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ SELECT * FROM cypher('cypher_call', $$CALL ag_catalog.add_agtype(1,2)$$) as (sqr
ERROR: function ag_catalog.add_agtype(agtype, agtype) does not exist
LINE 2: ...cypher('cypher_call', $$CALL ag_catalog.add_agtype(1,2)$$) a...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
/* CALL YIELD WHERE, should fail */
SELECT * FROM cypher('cypher_call', $$CALL sqrt(64) YIELD sqrt WHERE sqrt > 1$$) as (sqrt agtype);
ERROR: Cannot use standalone CALL with WHERE
Expand Down Expand Up @@ -287,12 +286,11 @@ SELECT * FROM cypher('cypher_call', $$ CALL ag_catalog.myfunc() YIELD myfunc RET
ERROR: function ag_catalog.myfunc() does not exist
LINE 1: ...T * FROM cypher('cypher_call', $$ CALL ag_catalog.myfunc() Y...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
DETAIL: No function of that name accepts the given number of arguments.
SELECT * FROM cypher('cypher_call', $$ CALL ag_catalog.myfunz(25) YIELD myfunc RETURN myfunc $$) as (result agtype);
ERROR: function ag_catalog.myfunz(agtype) does not exist
LINE 1: ...OM cypher('cypher_call', $$ CALL ag_catalog.myfunz(25) YIELD...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
DROP FUNCTION myfunc;
DROP SCHEMA call_stmt_test CASCADE;
NOTICE: drop cascades to function call_stmt_test.add_agtype(agtype,agtype)
Expand Down
6 changes: 3 additions & 3 deletions regress/expected/cypher_match.out
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,10 @@ SELECT * FROM cypher('cypher_match', $$
$$) AS (i agtype);
i
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[{"id": 1688849860263938, "label": "v2", "properties": {"id": "middle"}}::vertex, {"id": 1970324836974594, "label": "e2", "end_id": 1688849860263937, "start_id": 1688849860263938, "properties": {}}::edge, {"id": 1688849860263937, "label": "v2", "properties": {"id": "initial"}}::vertex]::path
[{"id": 1688849860263938, "label": "v2", "properties": {"id": "middle"}}::vertex, {"id": 1970324836974593, "label": "e2", "end_id": 1688849860263939, "start_id": 1688849860263938, "properties": {}}::edge, {"id": 1688849860263939, "label": "v2", "properties": {"id": "end"}}::vertex]::path
[{"id": 1688849860263938, "label": "v2", "properties": {"id": "middle"}}::vertex, {"id": 1970324836974594, "label": "e2", "end_id": 1688849860263937, "start_id": 1688849860263938, "properties": {}}::edge, {"id": 1688849860263937, "label": "v2", "properties": {"id": "initial"}}::vertex]::path
[{"id": 1688849860263938, "label": "v2", "properties": {"id": "middle"}}::vertex, {"id": 1970324836974593, "label": "e2", "end_id": 1688849860263939, "start_id": 1688849860263938, "properties": {}}::edge, {"id": 1688849860263939, "label": "v2", "properties": {"id": "end"}}::vertex]::path
[{"id": 1688849860263938, "label": "v2", "properties": {"id": "middle"}}::vertex, {"id": 1970324836974594, "label": "e2", "end_id": 1688849860263937, "start_id": 1688849860263938, "properties": {}}::edge, {"id": 1688849860263937, "label": "v2", "properties": {"id": "initial"}}::vertex]::path
(4 rows)

SELECT * FROM cypher('cypher_match', $$
Expand Down Expand Up @@ -1494,14 +1494,14 @@ AS (u agtype);
ERROR: function ag_catalog.age_isempty(agtype, agtype, agtype) does not exist
LINE 2: $$MATCH (u:for_pred) WHERE isEmpty(1,2,3) RETURN properties...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
DETAIL: No function of that name accepts the given number of arguments.
SELECT * FROM cypher('for_isEmpty',
$$MATCH (u:for_pred) WHERE isEmpty() RETURN properties(u) $$)
AS (u agtype);
ERROR: function ag_catalog.age_isempty() does not exist
LINE 2: $$MATCH (u:for_pred) WHERE isEmpty() RETURN properties(u) $...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
DETAIL: No function of that name accepts the given number of arguments.
-- clean up
SELECT drop_graph('for_isEmpty', true);
NOTICE: drop cascades to 3 other objects
Expand Down
Loading