Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in tutorial: Incompatibility with DuckDB version #16

Open
HeakyBorkie opened this issue Mar 27, 2024 · 0 comments
Open

Bug in tutorial: Incompatibility with DuckDB version #16

HeakyBorkie opened this issue Mar 27, 2024 · 0 comments

Comments

@HeakyBorkie
Copy link

Steps to reproduce, follow README.md to Step 6 - view loaded data:

root@codespaces-b20630:/workspaces/meltano-codespace-ready# ./meltano_tut select_db
=== Running select DB ===
Traceback (most recent call last):
  File "/workspaces/meltano-codespace-ready/codespaces_tutorial/select_duckdb.py", line 4, in <module>
    con = duckdb.connect(database='output/my.duckdb', read_only=True)
duckdb.IOException: IO Error: Trying to read a database file with version number 64, but we can only read version 51.
The database file was created with an newer version of DuckDB.

The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
The storage will be stabilized when version 1.0 releases.

For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.

See the storage page for more information: https://duckdb.org/internals/storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant