Small data, small compute 16 GB RAM · OneLake catalog
In the bench, by engine
- DuckDB:
TRUNCATEis not metadata-only: it writes a delete file covering the whole table instead of dropping its data files, so every reader then has to apply it. Known: duckdb-iceberg#1006 (closed: DuckDB always writes positional deletes).DOUBLEtoDECIMALrounds some ties down: duckdb#27503. - Polars: every leg runs a main build (808af73add, 2026-11-21), until a release has its SQL on Iceberg tables. Filed: #30074
DOUBLEtoDECIMALties to even; #29449 (fixed) and #29462 (fixed) decimals inscan_iceberg; #29461 (fixed) TPC-DS-like Q11 and Q31 one row short; #29762 (fixed) TPC-H-like Q11 regression; #29768 (fixed) TPC-DS-like Q72 OOM; #29822 (fixed) TPC-DS-like Q4 OOM on main; SQL writes to Iceberg: #29892 CREATE TABLE (fixed by PR #30267), #29893 INSERT (fixed by PR #30463), #29894 DELETE, #29895 UPDATE (both open), #29896 DROP TABLE (fixed by PR #30247, in 2.1.0); reading a catalog in SQL is in 2.1.0 (PR #30113, closes #27776); SQLMERGE(#22185, open forON CONFLICT;MERGE INTOmerged in PR #30633); upsert (#23197, open); #30211 drop a table (fixed by PR #30247, in 2.1.0, SQLDROP TABLE ... PURGE); on main since 2.1.0: #30212 drop a namespace and #30228 SQLCREATE SCHEMA(PR #30418), #30214 drop a column, #30215 rename a column, #30217 set a table property and #30229 SQLALTER TABLE ... ADD COLUMN(PR #30436), #30226 SQLINSERT OVERWRITE(PR #30463); SQLPARTITION BYtransforms (PR #30403); #30225 SQLTRUNCATE(fixed by PR #30477); #30219 SQL metadata tables (fixed by PR #30697); #30224 min/max from the manifest statistics (fixed by PR #30690); #30227 SQL time travel (fixed by PR #30751); #30216 SQL partition evolution (fixed by PR #30756); #30218 SQL sort order (fixed by PR #30788); #30223 rewrite manifests (fixed by PR #30837); #30222 compaction (fixed by PR #30856); closed, not fixed: #30213 update rows, #30220 create a branch, #30221 create a tag;sink_iceberg: #29845 (fixed by PR #29908, in 2.1.0) create the table it writes, #29968 (fixed by PR #30087, in 2.1.0) create a missing namespace, #29844 (fixed by PR #30091, in 2.1.0) thebuckettransform, #29843 (fixed by PR #30032, in 2.1.0,pl.delete_iceberg) delete rows by predicate; #29842 (fixed by PR #29909, in 2.1.0) overwrite by filter; #30029 (fixed by PR #30056, in 2.1.0) an unorderedUNION ALLof N CSV scans holds every input at once, 7x the memory ofpl.concat; the dbt project now reads its files with oneread_csv()over the list (PR #30047, in 2.1.0). Two plan choices that took the dbt project'sfct_summaryto 15 GB, filtered by hand in its SQL since: #30185 (fixed) join reordering starts with a near-cross join of two small tables on a 5-value key, 10x the memory of the written order; #30186 (fixed) a semi join on a fact column (IN (subquery)) stays above the inner joins. Details - dbt-polars: the dbt adapter (datamindedbe/incubator-dbt-polars), not Polars itself; the Real workload's polars leg runs it from a fork commit that carries PR #46. Filed: #29 (fixed in 0.4.0 by PR #30) a dbt source cannot name a
.CSVfile; #45 (fix: PR #46, open) a merge on a composite key builds one predicate per row, minutes at 5k rows, a segfault at 20k; #32 (open)merge_clausesis ignored. Details - LakeSail: every leg runs a main build (86da637b4f, 2026-11-20), 117 commits past 0.7.3, until a release has its Iceberg
rewrite_manifestsandadd_files, UUID columns and column-sized scans. Filed: #2629 (open) the catalog reloads every table on every statement; #2642 (fixed in 0.7.2) TPC-DS-like Q71; #2835 (fixed in 0.7.3 by PR #2837)SELECT DISTINCT substring_index(...)returns a column the Spark client cannot read, and #2836 (fixed in 0.7.3)GROUP BY ALLis read as a column named ALL, both found running the dbt project; #2839 (fixed in 0.7.3)TRUNCATE TABLEdoes not parse; #2844 (fixed in 0.7.3) a CSV row shorter than the schema fails unlessallowTruncatedRowsis set, where Spark's default PERMISSIVE mode reads it as nulls.input_file_name(), the source file name, is in 0.7.3 (sail#2571); #2851 (fixed in 0.7.3) a manifest-list record was namedfield_summarywhere every other writer usesr508, so table maintenance could not read its tables. Details - StarRocks: TPC-DS-like complete up to SF=100 (99/99 on 4.1.7). Q49 had failed on our SQL, not StarRocks (#79807). Filed: #79806 (open)
grouping()in ORDER BY, Q70 and Q86 run once it is written the standard way.FILES()has no source file name column (#66975). Details - Gluten/Velox: Velox can't use the workload-identity token every other Spark engine reads OneLake with, so it gets a 1-hour SAS and restarts the JVM before it expires. Filed: velox#19508 (open); gluten#13429 (open) timestamptz columns are written as non-UTC, so table maintenance can't compact its tables. Details
- Daft: ETL only. The ETL runs the nightly (bffd83483). Filed: #7532 (open), split into #7601 (open) decimal precision; #7602 (open)
CASEwith a decimal and a literal; cross join (PR #7573) andSUBSTRING(PR #7577), in 0.8.0-rc.1; OneLake paths fix PR #7533, in 0.8.0-rc.1. Details - Pandas: ETL only; no SQL. Filed: #71034 (open, marked as an Arrow limitation) and Arrow #53290 (open)
read_csv(engine="pyarrow")takes the column count from the first row, so the bench uses the one-thread C parser and reads 4 files at once on a thread pool. Details - chDB: not in TPC-DS-like; 6 of 99 queries fail on ClickHouse issues: Q36 and Q66, an alias with the column's name (#9715, open); Q47 and Q57, column names with three or more tables in FROM (#34697, open); Q75,
SUMover mixed Decimal and Float (#106707); Q18,CAST(NULL AS decimal)is an error, not NULL (#126628, closed: expected behavior,cast_keep_nullable = 1is the opt-in). Still the same six on chdb-core 26.10. Iceberg features missing on a REST catalog: #126630 MERGE; #126631 whole-table overwrite; #126632 TRUNCATE; #126633 compaction on catalog tables (closed: kept in ClickHouse Cloud only); #126634 partition evolution; #126635 sort order evolution; #126636 branches and tags; #126637 namespace DDL (the others open). DROP TABLE on Iceberg sentpurgeRequested=False(#125410, fixed by PR #125469); fixed in the bench since chdb-core 26.10.0.dev2610180851, the nightly after the ClickHouse master sync, which also made CREATE TABLE and CTAS work. Details - Databend: added 2026-10-17. It runs the v1.2.965-nightly image, the first nightly with #21073 (Iceberg CTAS, decimal and nested columns, partition transforms). Filed: #20588 (fixed by PR #20594, in v1.2.953-nightly) decimals failed, TPC-H-like 5/22. Azure reads (PR #20590) are in the nightlies, not in a stable release. Iceberg reads take a SAS: the workload identity does not reach its Azure reader. Filed: #20732 (open)
UNION ALLover two tables applies one table's schema to the other's file, so TPC-DS-like stops at Q5; #20733 (open) TPC-H-like SF=100 Q4 builds its semi join on 379M lineitem rows and runs out of memory instead of spilling. Iceberg writes, from the Table format support tab (Iceberg): #20735 (open) CTAS panics; #20736 (open) DECIMAL columns; #20737 (open) nested columns; #20738 (open) TRUNCATE does nothing; #20739 (open) INSERT OVERWRITE appends; #20740 (open) ADD/DROP COLUMN do nothing; #20741 (open) time travel reads the current snapshot; #20742 (open) INSERT into a bucket-partitioned table panics. Iceberg features not implemented: #20757 DELETE; #20758 UPDATE; #20759 MERGE; #20760 partition transforms; #20761 RENAME COLUMN; #20762 type promotion; #20763 partition evolution; #20764 table properties; #20765 sort order; #20766 branches and tags; #20767 compaction; #20768 rewrite manifests; #20769 min/max from metadata (all open).
Tried, not added
- Apache Doris: reads and writes OneLake Iceberg on 4.1.4.1, but can't read the raw CSV files in the lakehouse: its file functions take no
abfss://path. Filed: #68877 (open). Details - Firebolt Core: reads data only from
s3://,gs://orfile://; rejects OneLake'sabfss://paths. Filed: #90 (open). - DataFusion Comet: its native Iceberg scan has no
abfss://, so OneLake scans fall back to the JVM. Filed: #6058 (open). Details - DataFusion: its Python package has no Iceberg support: no catalog, no scan, no write (#1097). The Iceberg table provider, apache/datafusion-iceberg, reads and writes, but it is Rust only and has no release yet. Details
- pg_lake: (tested on 3.5.3) has no catalog cache for read-only tables; every statement reloads the metadata, so the 25-row
nationtakes 4–5s.
This is not a benchmark. It is a way to find bugs in open-source engines and get them fixed.
Every engine runs the same jobs on the same GitHub runner (16 GB RAM), against the same Iceberg tables in one OneLake REST catalog: load raw CSV files (Simple write), TPC-DS-like (Complex read), Iceberg writes and table maintenance (Table format support), and one dbt project every day on Spark, Trino, DuckDB and Polars (Real workload write).
When a job fails, runs out of memory or returns a wrong answer, the bug is filed upstream: one issue per bug, with a script that reproduces it on a clean machine. The maintainers write the fix; the bench picks it up from main or the next release, and the result here changes (Bug reports).
The timings are not a ranking, and a slow query is not a bug. Running out of memory is: the free runner has 100 GB of free disk to spill to, so there is no technical reason for an OOM.
The SQL, the workflows and every run's logs are in the repo.