DuckDB Extension Support

Hi, very much appreciate the new DuckDB API!

I am curious if there are recommended best practices for installing DuckDB extensions.

Seems under the hood, the httpfs extension is enabled, can other perhaps core extensions be enabled/whitelisted? Or maybe made available via the option to add an external backing artifact repository?

I make frequent use of the duckdb spatial extension, and for the time being get the extension through unofficial pip package. It would be great to have extensions officially supported though for long term stability.

Thanks!

What I have been doing is to create „shared libraries“ on our stack with the extension binaries (e.g. avro or iceberg).

In the conda-forge community there is work going on to support a second extension directory which would be configured so that the conda-forge provided extensions are automatically recognized. I think this will take some time though, as there is an unresolved issue around signing extensions.

I would give my +1 for more provided extensions.

2 Likes

We’ve been doing the same.

In a shared library, we have a small CLI to get the binaries, then package and distribute to other repos.

2 Likes