Skip to content

Commit

Permalink
update test from statement to query
Browse files Browse the repository at this point in the history
  • Loading branch information
dentiny committed Dec 21, 2024
1 parent 99878e8 commit 73dfe9e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/sql/create_pg/create_property_graph.test
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,23 @@ EDGE TABLES (
PROPERTIES ( createDate ) LABEL Knows
)

statement ok
query I
-SELECT count(id)
FROM
GRAPH_TABLE (PG
MATCH p = (s1:Person)-[k:Knows]->(s2:Person WHERE s2.name='Daniel')
COLUMNS (s1.id));
----
0

query I
-SELECT count(id)
FROM
GRAPH_TABLE (PG
MATCH p = (s1:Person)-[k:Knows]->(s2:Person WHERE s2.name='Peter')
COLUMNS (s1.id));
----
3

# Error as property graph pg already exists
statement error
Expand Down

0 comments on commit 73dfe9e

Please sign in to comment.