rapid-grass-65397
02/14/2023, 3:40 AMIO Error: Trying to read a database file with version number 38, but we can only read version 39. The database file was created with an older 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.
rapid-grass-65397
02/14/2023, 3:48 AMbright-smartphone-11251
select * from 'mydata.csv'
• You could ask Josh Wills about it - it’s possible dbt-duckdb needs an update. I know duckdb have recently released 0.7.0 and though I don’t know exactly how python packages choose versions, it seems dbt-duckdb may still be on 0.5.0 https://github.com/jwills/dbt-duckdb/blob/master/setup.pyrapid-grass-65397
02/14/2023, 4:30 AMrapid-grass-65397
02/14/2023, 4:32 AMbright-smartphone-11251
bright-smartphone-11251
SELECT * FROM read_parquet('input.parquet');
bright-smartphone-11251
bright-smartphone-11251
rapid-grass-65397
02/14/2023, 4:40 AMbright-smartphone-11251
bright-smartphone-11251
rapid-grass-65397
02/14/2023, 4:42 AMrapid-grass-65397
02/14/2023, 4:47 AMbright-smartphone-11251
rapid-grass-65397
02/14/2023, 4:48 AMrapid-grass-65397
02/14/2023, 4:48 AMbright-smartphone-11251
bright-smartphone-11251
rapid-grass-65397
02/14/2023, 4:50 AMbright-smartphone-11251
bright-smartphone-11251
However if you are able to hook up any duckdb file to the duckdb connector, you can still query parquet(To be clear, if I wasn’t, sorry - this should be possible today)
bright-smartphone-11251
rapid-grass-65397
02/14/2023, 4:53 AMlemon-cricket-39335
02/14/2023, 5:01 AMexternal tables
with dbt-duckdb so it just drops all of tables into parquet.lemon-cricket-39335
02/14/2023, 5:02 AMrapid-grass-65397
02/14/2023, 12:17 PMlemon-cricket-39335
02/14/2023, 4:32 PM