kuzudb / kuzu

Embeddable property graph database management system built for query speed and scalability. Implements Cypher.
https://kuzudb.com/
MIT License
1.07k stars 77 forks source link

Error when attaching a non-existent DuckDB database #3358

Closed semihsalihoglu-uw closed 3 weeks ago

semihsalihoglu-uw commented 3 weeks ago

I am testing the DuckDB extension and I attached to a non-existent DuckDB database. It still said that the database was attached successfully.

ATTACH 'funiversity.db' as uw (dbtype 'duckdb');
---------------------------------
| result                        |
---------------------------------
| Attach database successfully. |
---------------------------------

Let's instead error. In general, we should be in read-only mode since we don't have the capability yet to modify DuckDB (or Postgres or other databases we want to attach to).

There is also the inconsistent behavior that on Ziyi's machine, this command creates a new empty DuckDB database with database file funiversity.db. In my case it doesn't create that file. Let's get to the bottom of this too.