Skip to content

Research: Duckdb 1.5 compatibility#3720

Closed
anuunchin wants to merge 4 commits intodevelfrom
test/duckdb-150-compat
Closed

Research: Duckdb 1.5 compatibility#3720
anuunchin wants to merge 4 commits intodevelfrom
test/duckdb-150-compat

Conversation

@anuunchin
Copy link
Copy Markdown
Contributor

@anuunchin anuunchin commented Mar 9, 2026

Caveats uncovered:

  • Motherduck: Your MotherDuck extension is running on DuckDB v1.5.0 which is not yet supported. Please downgrade your DuckDB. We recommend DuckDB v1.4.4. For the installation guide, please refer to [https://duckdb.org/docs/installation/.](https://duckdb.org/docs/installation/) (you are using version v1.5.0-2026-03-258)" -> This is okay.

  • Filesystem: register_filesystem is no longer idempotent: Validate filesystem registration duckdb/duckdb#19168 -> This uncovered the following issue:

FilesystemSqlClient.open_connection gates one-time setup (secrets, filesystem registration) behind conn_pool.never_borrowed. Despite the name, this property returns True whenever there are zero active borrows, not just on the first borrow ever. For FilesystemSqlClient, the underlying connection is externally owned and never destroyed between borrow/return cycles. So after the first query returns its borrow (count goes to 0), the second query sees never_borrowed = True and tries to register_filesystem again on the same connection, which already has that filesystem registered. Before DuckDB 1.5 this was silently accepted because register_filesystem was idempotent, so now it raises. -> This is okay in most cases, but may need attention. Fix will be minimal.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
docs f6516e1 Commit Preview URL

Branch Preview URL
Mar 16 2026, 10:57 AM

@anuunchin anuunchin force-pushed the test/duckdb-150-compat branch 2 times, most recently from 771b948 to 4cde3cc Compare March 9, 2026 13:06
@anuunchin anuunchin self-assigned this Mar 9, 2026
@anuunchin anuunchin force-pushed the test/duckdb-150-compat branch 2 times, most recently from b60ddc5 to 634365f Compare March 16, 2026 08:23
@anuunchin anuunchin force-pushed the test/duckdb-150-compat branch 4 times, most recently from 226d2d2 to 2aa125d Compare March 16, 2026 09:58
@anuunchin anuunchin force-pushed the test/duckdb-150-compat branch from 2aa125d to f6516e1 Compare March 16, 2026 10:51
@anuunchin anuunchin closed this Mar 23, 2026
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

Successfully merging this pull request may close these issues.

INSERT ... SELECT on ALTER-added column not persisted in duckdb 1.5.0

1 participant