Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL delta_classic FROM community;
LOAD delta_classic FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
-- Load required extensions
LOAD delta;
-- Attach a directory of Delta tables as a single database
ATTACH 's3://bucket/lake' AS mydb (TYPE delta_classic, PIN_SNAPSHOT);
-- Query tables directly
SELECT * FROM mydb.main.orders LIMIT 10;
-- Time travel on one table
SELECT count(*) FROM mydb.main.orders AT (VERSION => 3);
-- Read every table as of a point in time
ATTACH 's3://bucket/lake' AS asof (TYPE delta_classic, TIMESTAMP '2026-10-01 00:00:00+00');
Provided by djouallah. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
Delta Classic lets you attach a directory of Delta Lake tables as a single DuckDB database, instead of attaching each table individually. It discovers tables by scanning for subdirectories containing a _delta_log folder.
All Delta reading is delegated to the Delta extension via internal ATTACH ... (TYPE DELTA). The ATTACH options PIN_SNAPSHOT, TIMESTAMP, PUSHDOWN_FILTERS and PUSHDOWN_PARTITION_INFO are passed to every table, and AT (VERSION => ...) / AT (TIMESTAMP => ...) work per query. Works with all storage backends (local filesystem, S3 and S3-compatible stores, ABFSS, GCS). Read-only. Not available in DuckDB-WASM, because the Delta extension has no WASM build.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- djouallah/delta_classic
- License
- MIT
- Maintainers
- djouallah
- Written in
- C++
- Build source
3b930e3dd1ad- Build definition
- Community descriptor