cwida / duckpgq-extension

DuckDB extension that adds support for SQL/PGQ
https://duckpgq.notion.site/b8ac652667964f958bfada1c3e53f1bb?v=3b47a8d44bdf4e0c8b503bf23f1b76f2
MIT License
72 stars 7 forks source link

Internal exception when creating property graph on non-existing table #103

Closed Dtenwolde closed 7 months ago

Dtenwolde commented 7 months ago
-CREATE PROPERTY GRAPH snb
VERTEX TABLES (tabledoesnotexist);

Result: INTERNAL Error: Assertion triggered in file "/Users/dljtw/git/duckpgq/duckdb-pgq/src/include/duckdb/parser/parsed_data/parse_info.hpp" on line 43: dynamic_cast<TARGET *>(this)

The problem is that a Catalog Error is thrown in create_property_graph.cpp which triggers the operator extension. However, I don't want this to happen, we just need to return the catalog error