Skip to content
DuckDB community extension

duckdb_opendalfs

Remote storage filesystem for DuckDB via Apache OpenDAL — S3, GCS, Azure, Hugging Face, WebDAV, SFTP, and more, with DuckDB secret-based auth.

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL duckdb_opendalfs FROM community;
LOAD duckdb_opendalfs FROM community;

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

SQL
CREATE SECRET production_s3 (
    TYPE opendal_s3,
    SCOPE 's3://analytics',
    ACCESS_KEY_ID 'access-key',
    SECRET_ACCESS_KEY 'secret-key',
    REGION 'us-east-1'
);

SELECT * FROM read_parquet('s3://analytics/events.parquet');

Provided by dentiny. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

duckdb_opendalfs is an extension which supports many backends (S3, GCS, Azure Blob, Hugging Face, etc) and secret management via opendal_<backend> secret types.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
dentiny/duckdb-opendal-filesystem
License
MIT
Maintainers
dentiny
Written in
C++
Build source
84b00dc969aa
Build definition
Community descriptor