THE SAIL EXAMPLE COLLECTION

Good questions.
Runnable answers.

Explore a city’s taxi trips. Find a photo with a sentence. Bring a customer table up to date.

Real tasks, explained step by step, with Spark SQL and Python on Sail. Pick something that makes you curious.

On your laptop · No Java · No cluster · No API key

FROM THE PHOTO SEARCH EXAMPLE
a dog playing in the snow
A reddish-brown and white dog standing in snow, the first search match01 / Best match
A sentence in. A matching photo out.
See how the example works Photo source & license

FROM CURIOUS TO RUNNING

Your first answer is
a few commands away.

Install uv, then run the taxi example. It handles Python and package setup for you.

After cd sail-examples, run all guide commands from that repository root. The first run downloads about 1.4 MB of trip data and a small zone lookup, plus Python packages.

TERMINAL
git clone https://github.com/lakehq/sail-examples.git
cd sail-examples
uv run quickstart/query-files-with-sql/main.py
FIRST RESULTEast Harlem North 12,141 trips

KNOW WHAT TO EXPECT

How Sail behaves.

From caching to file formats, these checked notes explain behavior that can change how you write a query.

Browse all 38 notes →

FOLLOW YOUR CURIOSITY

What would you like to build?

Browse all 35 runnable examples.

35 examples

beginner

Hello Sail

Run your first Spark SQL and DataFrame queries on Sail.

Start here

CODE YOU CAN INSPECT

Learn from the result.
Keep the useful parts.

Every guide links to its runnable source. The test suite compares portable examples with Apache Spark and checks selected results against independent answers.

These are examples with bounded inputs, not a promise about every workload. Each guide explains its requirements and limits.

How the examples are checked