Skip to content

Commit

Permalink
Not supporting explain queries yet, improved error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Dec 11, 2023
1 parent 954f99f commit 05fd1a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/sql/explain_duckpgq.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ statement ok
import database 'duckdb-pgq/data/SNB0.003'

#IC 2
statement ok
# EXPLAIN queries are not yet supported (https://github.com/cwida/duckpgq-extension/issues/61)
statement error
-EXPLAIN FROM GRAPH_TABLE (snb
MATCH (a:Person WHERE a.id = 17592186044461)-[k:knows]-(b:Person)<-[au:hasAuthor]-(m:message WHERE m.creationDate < '2010-10-16')
COLUMNS (a.id, a.firstName, a.lastName, m.id as messageId, coalesce(m.imageFile, m.content), m.creationDate)
) tmp
ORDER BY creationDate DESC, Messageid ASC
LIMIT 20
----
Binder Error: Unknown DuckPGQ query encountered

0 comments on commit 05fd1a6

Please sign in to comment.