Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL cozip FROM community;
LOAD cozip FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
SELECT name, "cozip:location"
FROM read_flat('https://data.source.coop/asterisk-labs/cozip-api-fixtures/data/cities.zip')
LIMIT 10;
Provided by asterisk-labs. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
cozip puts an index at byte 0 of a ZIP archive, so a reader can locate a file without scanning the Central Directory. This extension reads the Flat profile (profile 1) from local files or remote storage, including HTTPS, S3, GCS, Azure, and Hugging Face.
read_flat(path) returns the Flat-profile manifest: one row per entry with name, offset, size and whatever columns the writer added.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- asterisk-labs/cozip_reader
- License
- MIT
- Maintainers
- csaybar, ryali93
- Written in
- C++
- Build source
911e26c23330- Build definition
- Community descriptor