Closed CGenie closed 1 month ago
Moreover, the I can't seem to open that db:
Error: unable to open database "test.duckdb": INTERNAL Error: Failure while replaying WAL file "test.duckdb.wal": Index type "RTREE" not recognized
This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the program's logic.
For more information, see https://duckdb.org/docs/dev/internal_errors
DuckDB doesnt know that the rtree index comes from the spatial extension and doesnt know how to reconstruct it during WAL replay, you need to first startup DuckDB, load spatial and then use the "attach" command to open the database, at which point DuckDB can continue replaying the WAL
Yes, I understand. Still, it shouldn't segfault in the first place :)
This shouldn't happen I think (load some empty database with
duckdb test.duckdb
):results in: