Show HN: OSS Lakeserve, subsecond SQL on the Iceberg tables you have github.com ...

@show

Show HN: OSS Lakeserve, subsecond SQL on the Iceberg tables you have github.com · 3 points · 0 comments · HN thread

TL;DR Contrast, a company, has open-sourced Lakeserve under Apache-2.0, a Rust SQL server for Apache Iceberg tables that speaks Spark Connect and HTTP and can run as a local database or a cluster. The author claims sub-second analytics directly on Iceberg without a secondary copy in a proprietary format, citing TPC-DS SF-1000 geomean speedups over Databricks SQL Serverless, Snowflake and ClickHouse. The project is in preview and the benchmarks are self-reported on AWS Graviton instances.

  • Lakeserve is a SQL server for Iceberg tables, written in Rust on a heavily modified fork of Apache DataFusion, and started as a fork of Sail.
  • It speaks Spark Connect, so PySpark clients work unchanged, and it also accepts SQL over HTTP.
  • Claimed TPC-DS SF-1000 geomean speedups (64 vCPU): 3.55x over Databricks SQL Serverless, 2.52x over Snowflake Gen2, 1.66x over open-source ClickHouse on MergeTree.
  • Reuses hash-table builds for recurring joins across queries and caches decoded Iceberg metadata, manifest lists and manifests in memory.
  • Single-node local mode via 'lakeserve local' can query Parquet, CSV or JSON files by path, glob, URL or stdin without a server.
  • Status is preview; Structured Streaming and client-sent Python/pandas/JVM UDFs are not supported. Benchmark reproduction scripts are published alongside.

Links in the post

  • Lakeserve benchmarks: Benchmark results page covering TPC-H, TPC-DS and ClickBench results for Lakeserve and competing engines.
  • Benchmark reproduction guide: Step-by-step guide to regenerating the data, setting up AWS machines and running each engine's benchmark on us-west-2 Graviton instances.
  • Performance tuning: reuse of computed results: Documentation of how Lakeserve reuses query results, subplans, join build tables and pagination windows, with the settings that control them.
  • Configuration reference: Full list of configuration keys for runtime, execution, Parquet, catalogs, optimizer, Iceberg caches, admission and telemetry.

Discussion No comments yet, so there is no thread discussion to summarize. The post has 3 points and has attracted no visible reaction at the time of this digest.

#Iceberg #Rust #SQL #Spark #OpenSource #Benchmarks