Search Shortcut cmd + k | ctrl + k
cozip

Read and validate cozip priority indexes from DuckDB

Maintainer(s): Asterisk Labs

Installing and Loading

INSTALL cozip FROM community;
LOAD cozip;

Example

LOAD cozip;
SELECT * FROM cozip_index('test/data/flat_store_6files.cozip');
SELECT cozip_integrity_hash_ok('test/data/flat_store_6files.cozip');

About cozip

cozip is a ZIP-compatible layout that places a compact binary index in the first entry (cozip) so readers can locate priority files without scanning the Central Directory first. This extension validates the current cozip core format, checks the FNV-1a integrity hash over the index payload and archive tail, and exposes the priority index through scalar functions and the cozip_index(path) table function.

Added Functions

function_name function_type description comment examples
cozip_index table NULL NULL  
cozip_index_json scalar NULL NULL  
cozip_integrity_hash_ok scalar NULL NULL  
cozip_metadata_offset scalar NULL NULL  
cozip_priority_count scalar NULL NULL  
cozip_profile scalar NULL NULL  
cozip_tail_hash_ok scalar NULL NULL  

Overloaded Functions

This extension does not add any function overloads.

Added Types

This extension does not add any types.

Added Settings

This extension does not add any settings.