• 0.10.0で、DuckDBのデータベースファイルが後方互換性を持つように • 1.0.0のリリースブログ他でも取り上げており、彼ら的には重要と思ってそうなポイント # duckmanは特定のバージョンでDuckDBを実行するラッパーです > duckman run v0.5.0 sample_files_0.5.db -c 'create or replace table t1 as select 1 as c' # 0.6で開こうとするとエラー > duckman run v0.6.0 sample_files_0.5.db -c 'select * from t1' Error: unable to open database "sample_files_0.5.db": IO 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. 0.10.0以前では違うバージョンのDBを開こうとするとエラー > duckman run v0.10.0 sample_files_0.10.db -c 'create or replace table t1 as select 1 as c' > duckman run v1.2.0 sample_files_0.10.db -c 'select * from t1' ┌───────┐ │ c │ │ int32 │ ├───────┤ │ 1 │ └───────┘ 0.10.0以降では後方互換性がある(1.2で0.10のデータベースが読めてる)
最近の動き色々としては、DuckDBコントリビューター以外もやすいようにしたいぽい? ◦ use DuckDB as a platform to build their own stuff to build extensions on, and where DuckDB kind of becomes this fabric of efficient operators and efficient data representations, all that stuff, that you can glue various extensions together. And it's all accessible from sort of a unified interface look like SQL. バージョン リリース内容 補足 1.2 C API Cでも作れるようにすることで(元々は C++)、他の言語にも対 応しやすくなったり、バージョンあげやすくなるらしい 1.1 Community Extension DuckDB Labs以外の人が拡張を頒布するリポジトリ 1.1 query/query_table 参照するテーブルを動的に変えられる (pivotのような汎用的なSQLマクロを作れるように) 0.9 DuckDB-wasm対応(一部) バージョン外 extension-template 拡張作るためのテンプレート( C++)