WHY LAKESAIL

Keep your Spark code.Change the engine.

One engine for the Spark jobs you run today and the multimodal AI pipelines you build next. Open source, Rust-native, and runs in your environment.

JVM SparkJVM SparkSail
Your codeSpark SQL and DataFrame codestays
Spark Connectthe open client protocolstays
Your tablesDelta Lake, Icebergstays
Your storageobject storage, cloud or on-premisesstays
changesEngineSail in place of JVM Spark
set aside

01 · Your code

Spark Connect made the engine replaceable. Sail is the replacement.

Spark pipelines are written in Spark SQL and DataFrame code, and that code is the costly part to replace.

Sail speaks Spark Connect, the open protocol Spark 3.4 introduced to separate your code from its engine. Sail is the engine inside LakeSail.

Spark code runs as it is. A free scanner checks it before you move anything.

Your code
rollup.pyEXAMPLE
df = spark.table("orders")
by_day = df.groupBy("day").sum("amount")
by_day.write.saveAsTable("daily_revenue")
spark.sql("SELECT * FROM daily_revenue")
Your storageYour tablesEXAMPLEEMBEDDINGimagevideoscanrobotSailPlanningExecutionShufflePythonJVM SparkPLANNING AND SCHEDULING · JVMSpark ConnectROLLUP.PYEXAMPLEdf = spark.table("orders")by_day = df.groupBy("day")out = by_day.sum("amount")spark.sql("SELECT …")Your coderollup.pyEXAMPLE1df = spark.table("orders")2by_day = df.groupBy("day").sum("amount")3by_day.write.saveAsTable("daily_revenue")4spark.sql("SELECT * FROM daily_revenue")UNCHANGEDYOUR CHOICEUNCHANGED
  • UnchangedYour code and Spark Connect
  • Your choiceThe engine
  • UnchangedYour tables and your storage

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

02 · The engine

LakeSail runs a Rust-native engine.

No JVM, no garbage collector, far less memory. Spark’s engine was built on the JVM in 2009. Sail, the engine inside LakeSail, is built for the CPUs and data of today.

On the JVM, memory is garbage collected, so work pauses while the collector runs and each executor needs a heap sized by hand. Its operators process rows, and Python functions run in separate worker processes, serialized on the way out and back.

In Sail, built in Rust, memory is freed as it goes, so there are no collection pauses and no JVM heap to size. Its operators process data in columnar batches, many values at a time, and Python runs inside the engine.

A new engine
Your storageYour tablesEXAMPLEEMBEDDINGimagevideoscanrobotSailPlanningExecutionShufflePythonJVM SparkPLANNING AND SCHEDULING · JVMSpark ConnectROLLUP.PYEXAMPLEdf = spark.table("orders")by_day = df.groupBy("day")out = by_day.sum("amount")spark.sql("SELECT …")Your codeUNCHANGEDUNCHANGEDTHE NEW ENGINERUST-NATIVENO GARBAGE COLLECTORCOLUMNAR BATCHESPYTHON IN PROCESSJVM SPARK,SET ASIDENO JVM

The new engine

Rust-nativeNo garbage collectorColumnar batchesPython in process
  • UnchangedYour code, Spark Connect, your tables and your storage
  • Set asideJVM Spark

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

03 · Performance

10x faster than Spark. A third of the memory. Nothing spilled to disk.

Less time on fewer machines is what shrinks a compute bill.

On one machine, Sail ran derived TPC-H 10x faster than Spark and peaked at 26 GiB of memory. Spark peaked at 72 and spilled 115 GiB to disk.

At 3 TB, it ran derived TPC-DS in about 21 minutes on 256 vCPUs. Published runs of Spark, and of Spark with Gluten and Velox, took about 61 and 37 minutes on 576 vCPUs.

Benchmarks

DERIVED TPC-H · 100 GB · ONE 16 vCPU, 128 GiB MACHINE

10xFASTER THAN SPARK, SAME MACHINE
3264GiB0 s10020030040050072 GiBSPARK DONE26 GiBSAIL DONE
TOTAL TIME
Spark 534.78 sSail 52.81 s
PEAK MEMORY
Spark 72 GiBSail 26 GiB
SPILLED TO DISK
Spark 115 GiBSail 0

Derived from TPC-H at scale factor 100, one 16 vCPU machine. Not officially audited. Details

DERIVED TPC-DS · 3 TB · TOTAL TIME, LOWER IS BETTER

1,289sSAIL ON 8 MACHINES, 256 vCPUs
Spark12 machines · 576 vCPUs
3,650.56 s
Spark + Gluten/Velox12 machines · 576 vCPUs
2,239.93 s
Sail8 machines · 256 vCPUs
1,288.77 s

Spark and Spark with Gluten and Velox times published by AWS. Different hardware and methods, not a controlled head-to-head comparison. Derived from TPC-DS, not officially audited. LakeSail · AWS

CLICKBENCH · ONE c6a.4xlarge · COMBINED SCORE, LOWER IS FASTER

7.4xFASTER THAN THE CLOSEST ACCELERATED SPARK
Sail
x1.01
Spark + Gluten/Velox
x7.40
Spark + Auron
x7.99
Spark
x9.20

ClickBench combined metric on one c6a.4xlarge. ClickBench

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

04 · Beyond accelerators

An accelerator speeds up operators. Sail replaces the whole engine.

Accelerators plug native operators into Spark, and they help. But the JVM stays, and so do its limits.

The JVM still runs the job. Spark plans on it, its garbage collector still runs, and heap and off-heap memory are tuned apart.

Every gap falls back. Any step the accelerator cannot run goes back to Spark, with data converted to rows and back.

Sail replaces all of it. One native engine runs from plan to shuffle, with no handoffs. On the same ClickBench machine, the closest accelerated Spark was 7.4x slower than Sail on ClickBench’s combined metric.

An accelerator, or Sail
Your storageYour tablesEXAMPLEEMBEDDINGimagevideoscanrobotSailPlanningExecutionShufflePythonJVM SparkPLANNING AND SCHEDULING · JVMSpark ConnectROLLUP.PYEXAMPLEdf = spark.table("orders")by_day = df.groupBy("day")out = by_day.sum("amount")spark.sql("SELECT …")Your codeYour tablesJVM SparkYour codeYour tablesSailYour codeSAMECODESAMETABLES

Spark with an accelerator

  • Spark still plans on the JVM
  • Garbage collection still runs
  • Heap and off-heap to tune
  • Unsupported steps fall back

Sail

  • Native from plan to shuffle
  • No garbage collector
  • No JVM heap to size
  • No handoffs between engines

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

05 · Python and AI

On LakeSail, Python runs inside the engine.

Pipelines now carry images, documents, audio and model calls next to their SQL.

Same data, same job. Python works on the same data as your SQL. An embedding step or a model call is part of the job, with no second system beside it.

Python and AI
Your storageYour tablesEXAMPLEEMBEDDINGimagevideoscanrobotSailPlanningExecutionShufflePythonJVM SparkPLANNING AND SCHEDULING · JVMSpark ConnectROLLUP.PYEXAMPLEdf = spark.table("orders")by_day = df.groupBy("day")out = by_day.sum("amount")spark.sql("SELECT …")Your codeEXAMPLE FILESROWS AND A VECTOR COLUMN
  • InExample files, a photo, a video frame, a scanned page and a robot camera frame
  • OutTable rows with an embedding column

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

06 · Multimodal and physical AI

Your AI pipelines run on the same engine as your Spark jobs.

Process images, video, audio and documents with Python libraries, in the same DataFrame and SQL code.

Multimodal, in SQL and Python. Run models on Arrow batches inside the engine, store embeddings as a column, and write results to Parquet or Delta Lake.

Physical AI. Turn humanoid robot episodes into training splits. Align camera frames with state and action records, and check each episode before it becomes training data.

Multimodal and physical AI
INPUTEXAMPLE
Headphones on a yellow backgroundA blue running shoeBlack sunglasses on a tableTwo metal water bottlesA painted porcelain teapotAn LED light bulb
  1. ReadFILES
  2. EmbedPYTHON
  3. WriteDELTA
  4. SearchSQL
OUTPUT TABLE
FILEEMBEDDINGStatus
sku_1041.jpg✓
sku_1042.jpg✓
sku_1043.jpg✓
sku_1044.jpg✓
INPUTEXAMPLE
  1. ReadFILES
  2. EmbedPYTHON
  3. WriteDELTA
  4. Find scenesSQL
OUTPUT TABLE
SCENESTARTEMBEDDINGStatus
drive.mp4 · 10:00✓
drive.mp4 · 20:28✓
drive.mp4 · 30:44✓
drive.mp4 · 41:12✓
INPUTEXAMPLE
call_0412.wavcall_0413.wavcall_0414.wavcall_0415.wav
  1. ReadFILES
  2. TranscribePYTHON
  3. WriteDELTA
  4. CheckSQL
OUTPUT TABLE
FILETRANSCRIPTStatus
call_0412.wav“Hi, I’d like to change my delivery address.”✓
call_0413.wav“My order arrived without the charger.”✓
call_0414.wav“Can I move my appointment to Friday?”✓
call_0415.wav“Thanks, that fixed it.”✓
INPUTEXAMPLE
  1. ReadFILES
  2. OCRPYTHON
  3. WriteDELTA
  4. CheckSQL
OUTPUT TABLE
FILETEXTSTATUS
invoice_0412.pdfInvoice 0412. Bill to …ok
agreement.pdfThis agreement is made …ok
scan_0088.pdfblank
notes.docxNot a PDFerror
INPUTEXAMPLE
  1. ReadFILES
  2. AlignSQL
  3. CheckSQL
  4. WriteDELTA
OUTPUT TABLE
EPISODECAMERASALIGNEDSPLIT
episode_02794✓train
episode_02804✓train
episode_02814✓validation
episode_02824✓train

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

07 · In production

Adyen runs Sail in production, without a rewrite.

Adyen processes more than a trillion euros in payments a year, and its data platform runs more than ten thousand Spark jobs a day, across more than fifty teams and more than a million lines of Spark code.

No rewrite. Each job it moved first ran alongside its Spark version, with schema and data checked for equality, then went into production.

A CI test suite went from 1,335 seconds to 78. In production, the median runtime across Airflow job runs went from about 57 minutes to about 8.5, on fewer cores and less memory.

More than 10,000 Spark jobs a day

CI TEST SUITE · TIMED ON BOTH ENGINES

SPARK
22:15
SAIL
DONE
1:18
17xFASTER THAN SPARK

AIRFLOW JOB RUNS · MEDIAN RUNTIME

SPARK
about 57 min
SAIL
about 8.5 min
6.7xLOWER, ON FEWER CORES AND LESS MEMORY

HOW EACH JOB MOVED

  1. Ran beside SparkSame job, both engines
  2. Output checkedHad to match exactly
  3. Into productionNo rewrite

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

08 · The LakeSail platform

LakeSail runs your jobs in your environment, next to your data.

Jobs, tables, schedules and notebooks, on a platform LakeSail manages for you.

  • Batch jobs. Python and SQL jobs on Delta Lake and Iceberg tables in your object storage.
  • Schedules and reruns. Retries and alerts, reruns with parameters, and catch-up for missed runs.
  • Your orchestrator. Airflow, Dagster and Prefect can start and watch jobs through the LakeSail API.
  • Notebooks and SQL. Console notebooks, or any Spark client over Spark Connect.
On LakeSail
EXAMPLEBatch ETL and ELTPython and SQL jobs, your Spark code as it is.
PYdaily_orders.pyPython jobSQLdaily_revenue.sqlSQL job
Lakehouse tablesBuilt into the engine.
SailDelta LakeIceberg
MERGEUPDATEDELETETIME TRAVEL
EXAMPLESchedules and retriesCron schedules, automatic restarts and alerts.
0 2 * * *daily, 02:00 UTC
failed, alert sent, restarted
EXAMPLEReruns and catch-upRun with parameters, catch up missed runs, or retry.
date=2026-11-02Run
Catch up missed runsRetry
Airflow, Dagster, PrefectKeep them. They start and watch jobs through the API.
AirflowDagsterPrefect→LakeSail API
EXAMPLENotebooks and ad hoc SQLConsole notebooks, or Spark Connect from any client.
spark.sql("SELECT * FROM orders")
or Spark Connect sc://…

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

09 · Agents

Bring your own agent, on the model you choose.

LakeSail is agent-native. Your agent can build, run and watch pipelines through the same API the console uses.

Open to any model, by design. Bring the agent and the model you already trust. Nothing ties you to one AI vendor.

Use the console when you want to, or let your agent do the work. It never gets more than your access, and you can revoke it at any time.

Agent-native
ConsoleOPTIONALYour agentANY MODELYOUR ACCESS
LakeSail APIPUBLISHED OPENAPI SPEC
JobsRunsLogsNotebooksClustersAlerts
AGENT ACTIVITYEXAMPLE
09:00:02BUILDDefined and published a jobdaily_orders · daily, 02:00
09:00:05RUNStarted a rundate=2026-11-02
09:03:41WATCHRun failed, notification receivedjob_run.status.failed
09:03:44WATCHRead the runner and engine logslogs/stream
09:03:52RUNRetried the failed runretry
09:07:30WATCHRun succeeded, notification receivedjob_run.status.succeeded

Example files from cogdogblog (CC0), NASA, the Library of Congress and Unitree (Apache 2.0).

10 · Moving over

For Spark jobs, moving to LakeSail is connecting, not rewriting.

Coming from
From Databricks, LakeSail connects to Unity Catalog. Your external Delta tables stay in your object storage, and your Spark job runs unchanged over Spark Connect.

Trusted by data & AI teams at

  • Microsoft
  • JPMorgan Chase
  • HPE
  • Adyen

Upgrade your data stack.

Faster Spark jobs, no JVM to tune, and your AI pipelines on the same engine.