{"id":28605801,"url":"https://github.com/duckdb/ducklake","last_synced_at":"2025-07-10T09:09:04.823Z","repository":{"id":295959177,"uuid":"942124186","full_name":"duckdb/ducklake","owner":"duckdb","description":"DuckLake is an integrated data lake and catalog format","archived":false,"fork":false,"pushed_at":"2025-07-04T14:42:25.000Z","size":1092,"stargazers_count":1730,"open_issues_count":50,"forks_count":65,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-07-04T16:07:27.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ducklake.select","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duckdb.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-03T16:01:19.000Z","updated_at":"2025-07-04T14:56:20.000Z","dependencies_parsed_at":"2025-06-19T13:26:47.209Z","dependency_job_id":"aba49725-0041-4692-a181-d2747c2b8f8a","html_url":"https://github.com/duckdb/ducklake","commit_stats":null,"previous_names":["duckdb/ducklake"],"tags_count":0,"template":false,"template_full_name":"duckdb/extension-template","purl":"pkg:github/duckdb/ducklake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fducklake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fducklake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fducklake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fducklake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckdb","download_url":"https://codeload.github.com/duckdb/ducklake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fducklake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264555347,"owners_count":23627322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-11T19:01:54.851Z","updated_at":"2025-07-10T09:09:04.818Z","avatar_url":"https://github.com/duckdb.png","language":"C++","funding_links":[],"categories":["🔄 Data Plattform Tools","C++","Extensions","\u003ca name=\"C%2B%2B\"\u003e\u003c/a\u003eC++"],"sub_categories":["🧠 Prompt Engineering \u0026 Memory Bank","[Core Extensions](https://duckdb.org/docs/stable/core_extensions/overview)"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"../logo/DuckLake_Logo-horizontal.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"../logo/DuckLake_Logo-horizontal-dark.svg\"\u003e\n    \u003cimg alt=\"DuckLake logo\" src=\"../logo/DuckLake_Logo-horizontal.svg\" height=\"100\"\u003e\n  \u003c/picture\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n# DuckDB DuckLake Extension\n\n\u003e DuckLake is released under version 0.1 and is currently experimental. If you encounter any issues, please file them [here](https://github.com/duckdb/ducklake/issues).\n\nDuckLake is an open Lakehouse format that is built on SQL and Parquet. DuckLake stores metadata in a [catalog database](https://ducklake.select/docs/stable/duckdb/usage/choosing_a_catalog_database), and stores data in Parquet files. The DuckLake extension allows DuckDB to directly read and write data from DuckLake.\n\nSee the [DuckLake website](https://ducklake.select) for more information.\n\n## Installation\n\nDuckLake can be installed using the `INSTALL` command:\n\n```sql\nINSTALL ducklake;\n```\n\nThe latest development version can be installed from `core_nightly`:\n\n```sql\nFORCE INSTALL ducklake FROM core_nightly;\n```\n\n## Usage\n\nDuckLake databases can be attached using the  [`ATTACH`](https://duckdb.org/docs/stable/sql/statements/attach.html) syntax, after which tables can be created, modified and queried using standard SQL.\n\nBelow is a short usage example that stores the metadata in a DuckDB database file called `metadata.ducklake`, and the data in Parquet files in the `file_path` directory:\n\n```sql\nATTACH 'ducklake:metadata.ducklake' AS my_ducklake (DATA_PATH 'file_path/');\nUSE my_ducklake;\nCREATE TABLE my_ducklake.my_table(id INTEGER, val VARCHAR);\nINSERT INTO my_ducklake.my_table VALUES (1, 'Hello'), (2, 'World');\nFROM my_ducklake.my_table;\n┌───────┬─────────┐\n│  id   │   val   │\n│ int32 │ varchar │\n├───────┼─────────┤\n│     1 │ Hello   │\n│     2 │ World   │\n└───────┴─────────┘\n```\n##### Updates\n```sql\nUPDATE my_ducklake.my_table SET val='DuckLake' WHERE id=2;\nFROM my_ducklake.my_table;\n┌───────┬──────────┐\n│  id   │   val    │\n│ int32 │ varchar  │\n├───────┼──────────┤\n│     1 │ Hello    │\n│     2 │ DuckLake │\n└───────┴──────────┘\n```\n##### Time Travel\n```sql\nFROM my_ducklake.my_table AT (VERSION =\u003e 2);\n┌───────┬─────────┐\n│  id   │   val   │\n│ int32 │ varchar │\n├───────┼─────────┤\n│     1 │ Hello   │\n│     2 │ World   │\n└───────┴─────────┘\n```\n##### Schema Evolution\n```sql\nALTER TABLE my_ducklake.my_table ADD COLUMN new_column VARCHAR;\nFROM my_ducklake.my_table;\n┌───────┬──────────┬────────────┐\n│  id   │   val    │ new_column │\n│ int32 │ varchar  │  varchar   │\n├───────┼──────────┼────────────┤\n│     1 │ Hello    │ NULL       │\n│     2 │ DuckLake │ NULL       │\n└───────┴──────────┴────────────┘\n```\n##### Change Data Feed\n```sql\nFROM my_ducklake.table_changes('my_table', 2, 2);\n┌─────────────┬───────┬─────────────┬───────┬─────────┐\n│ snapshot_id │ rowid │ change_type │  id   │   val   │\n│    int64    │ int64 │   varchar   │ int32 │ varchar │\n├─────────────┼───────┼─────────────┼───────┼─────────┤\n│           2 │     0 │ insert      │     1 │ Hello   │\n│           2 │     1 │ insert      │     2 │ World   │\n└─────────────┴───────┴─────────────┴───────┴─────────┘\n```\n\nSee the [Usage](https://ducklake.select/docs/stable/duckdb/introduction) guide for more information.\n\n## Building \u0026 Loading the Extension\n\nTo build, type\n```\ngit submodule init\ngit submodule update\n# to build with multiple cores, use `make GEN=ninja release`\nmake pull\nmake\n```\n\nTo run, run the bundled `duckdb` shell:\n```\n ./build/release/duckdb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckdb%2Fducklake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduckdb%2Fducklake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduckdb%2Fducklake/lists"}