Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Feb 5, 2024
1 parent caf1d4b commit 77536d8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/sql/create_pg/optional_edge_table_clause.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ import database 'duckdb-pgq/data/SNB0.003';

statement ok
-CREATE PROPERTY GRAPH snb
VERTEX TABLES (Message);
VERTEX TABLES (Message, person);

statement ok
-FROM GRAPH_TABLE (snb
MATCH (m:Message)
COLUMNS (*)
) tmp

statement error
-FROM GRAPH_TABLE (snb
MATCH (p:Person)-[k:Knows]->(p2:Person)
COLUMNS (*)
) tmp

0 comments on commit 77536d8

Please sign in to comment.