diff --git a/test/sql/create_pg/create_property_graph.test b/test/sql/create_pg/create_property_graph.test index 49e0fef..2da8a09 100644 --- a/test/sql/create_pg/create_property_graph.test +++ b/test/sql/create_pg/create_property_graph.test @@ -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