DuckDB Ducklake

(github.com)

149 points | by saikatsg 1 day ago

9 comments

  • smithclay 9 hours ago
    Don't think it's widely known or understood, but Ducklake doesn't require duckdb: it's just a (good) data lake spec that works in duckdb.

    There's a cool alternate rust/datafusion ecosystem initiative going on at https://github.com/datafusion-contrib/datafusion-ducklake, and think the Quack protocol opens up a lot of cool possibilities too.

    If you need an idea for what do do with ducklake: recommend throwing all of your agent traces in it.

    • wodenokoto 20 minutes ago
      I had no idea!

      I always thought the catalogue was a duckdb file. E.g, data lives in partitioned parquet files, but which parquet files are current or soft deleted, etc, etc, is managed in a duckdb data file.

      However, looking at https://ducklake.select/, it seems the catalogue lives in PostgresSQL - so it is not really a ducklake, but a postgresslake.

      The more you know.

      • paragraft 7 minutes ago
        That's a tabbed interface on the site that just defaults to postgres. SQLite and duckdb are supported too.
    • eddietejeda 7 hours ago
      Thanks for the shoutout.

      For context, we previously built custom catalogs optimized for specific use cases. But they were hard to maintain, especially as requirements changed, and Apache Iceberg was too heavy for our specific low-latency work.

      Since Ducklake is only a spec, we implemented datafusion-ducklake, and it performs as well as any custom or specialized catalog we built. We use Postgres as the catalog store, and it does not get much simpler than that: a transactional database for transactional data.

      Plus, it gives us a clear spec for implementing complex parts like time travel, snapshots, etc.

      It's been a godsend.

      We welcome and encourage contributors!

  • celias 1 day ago
    Motherduck is offering a free copy of O'reilly's "DuckLake: The Definitive Guide" book on their DuckLake web page

    https://motherduck.com/product/ducklake/

  • suchire 1 day ago
    But "Duckpond" was right there!
    • jeremyjh 3 hours ago
      Maybe in another life.
  • engineeringwoke 8 hours ago
    It's alright, it's pretty alpha software. On v1.5.4, catalog filtered counts are broken, afaik. I went to main/v2 to fix it, and then the SQL parser in duckdb v2 is 10x slower, which was another wrench in the gears. It's been a bit of a pain tbh
    • jauco 8 hours ago
      Yep, they made the spec 1.0 but it isn’t 1.0 software. Browse the bugs before use.

      When it works well it’s really nice. And it beats handrolling a multi level parquet store.

      • engineeringwoke 7 hours ago
        Absolutely. I love it, but you need a fork for now.
  • HackerThemAll 21 hours ago
    DuckDB is the best thing world got since 1990s.

    https://duckdb.org/2025/05/19/the-lost-decade-of-small-data....

  • snapetom 6 hours ago
    Is this basically a table format like Delta/Iceberg but with an SQL engine built in via DuckDB?
    • Lucasoato 6 hours ago
      Nope, from my understanding the delta log (the files that say which of your data files are actually valid or not) isn’t saved in json/parquet but directly in a database.

      Much faster, but adds a dependency... that you would have added anyway with database based catalogs (that are not the only kind of catalogs)

  • vira28 14 minutes ago
    [flagged]
  • bnuttall 1 day ago
    [flagged]
  • loufe 8 hours ago
    Why program greenfield in C++? I know "made with rust" is a meme but seriously, why not a memory safe language in 2026?
    • esafak 8 hours ago
      DuckDB has been around since 2018. Naturally its offspring use C++.
      • OutOfHere 7 hours ago
        Rust has been out since 2010. It already was rated "most-loved" by 2016. Systems programmers had adopted it by 2018.
        • meredithbloom 1 hour ago
          And the compiler was horrendously slow for big projects on x86_84 until 2023.