Skip to content

Instantly share code, notes, and snippets.

View Alex-Monahan's full-sized avatar

Alex Monahan Alex-Monahan

  • MotherDuck
  • Chandler, AZ
View GitHub Profile
@Alex-Monahan
Alex-Monahan / ducklake_example.sql
Created April 28, 2026 19:12
Getting started with DuckLake and reading DuckLake metadata
-- Check out the DuckDB CLI's UI (invoke with duckdb -ui )!
install ducklake;
load ducklake;
-- Create our DuckLake!
-- We will use a DuckDB file as a catalog and store our data on our local file system
ATTACH 'ducklake:ducklake_catalog_1.ducklake' AS lake (DATA_PATH 'ducklake_data');
USE lake;
-- Create a table in that DuckLake and load some initial data