DuckLake functions provide table-valued functions for reading DuckLake tables. DuckLake keeps table metadata in a SQL catalog database (PostgreSQL) and stores the underlying data as Parquet files in object storage or on a local filesystem.
DuckLake support is experimental and may change. Only DuckLake catalogs hosted on PostgreSQL are supported.
Reading DuckLake data
Use the READ_DUCKLAKE table-valued function to query a DuckLake table. Firebolt recommends storing the catalog connection string and storage credentials in a location object:
Inspecting DuckLake data files
Use the LIST_DUCKLAKE_FILES table-valued function to list the Parquet data files behind a table, with per-file metadata and per-column statistics:
Available functions
Table-valued functions: