DuckDB Version Mismatch (Trying to read a database file with version number XX) #257
Replies: 3 comments
-
Hi, Harlequin works fine with 0.9.0 if you create database with 0.9.0. The error shown here is the same as you get from the DuckDB CLI or the Python API if you attempt to open a database file created by a different version of DuckDB. You can pin the version of DuckDB that Harlequin uses by adding a pinned, direct dependency on DuckDB to your project. If you used pipx to install Harlequin, you can "inject" that dependency:
|
Beta Was this translation helpful? Give feedback.
-
Sorry, just re-read your error message and my advice is the same, but in this case you need to upgrade (not downgrade) the version of DuckDB installed by Harlequin. You could do this by pinning the new version or just updating/upgrading/reinstalling Harlequin. (A new version will be out tomorrow) |
Beta Was this translation helpful? Give feedback.
-
Fantastic! Thank you for an absolutely phenomenal tool @tconbeer !!! |
Beta Was this translation helpful? Give feedback.
-
The
harlequin
CLI is amazing!The newest version of DuckDB v0.9.0 is not quite yet supported though:
Beta Was this translation helpful? Give feedback.
All reactions