diff --git a/duckdb-pgq b/duckdb-pgq index 3e2ceda5..82a05987 160000 --- a/duckdb-pgq +++ b/duckdb-pgq @@ -1 +1 @@ -Subproject commit 3e2ceda52eca1e84a49f1310de22bfbd6ea218ed +Subproject commit 82a059870aa81cd8c72f9d75123e69e1430bbcf5 diff --git a/test/sql/create_pg/optional_edge_table_clause.test b/test/sql/create_pg/optional_edge_table_clause.test new file mode 100644 index 00000000..8c04f13f --- /dev/null +++ b/test/sql/create_pg/optional_edge_table_clause.test @@ -0,0 +1,23 @@ +# name: test/sql/sqlpgq/snb.test +# group: [duckpgq] + +require duckpgq + +statement ok +import database 'duckdb-pgq/data/SNB0.003'; + +statement ok +-CREATE PROPERTY GRAPH snb +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 \ No newline at end of file