Skip to content
DuckDB community extension

zipfs

Read files within zip archives

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 zipfs FROM community;
LOAD zipfs FROM community;

Try it in a temporary SQL session with zipfs already loaded. Queries run in this tab; examples using files or services need their own setup.

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

02 / QUERY

Usage example

SQL
SELECT * FROM 'zip://my_zip.zip/my_file.csv';

Provided by isaacbrodsky. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

The zipfs extension adds support for reading files from within zip files and other archives.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
isaacbrodsky/duckdb-zipfs
License
MIT
Maintainers
isaacbrodsky
Written in
C++
Build source
fd9fec45453c
Build definition
Community descriptor