--engine.
In this quickstart, you’ll load a month of NYC taxi trips, see how oleander’s router selects an engine and machine size for your query, and write the number of trips for each pickup by hour to a new table.
Before you start
Sign up for oleander. It’s free, and you don’t need a card to get started. The Hobby plan includes an Iceberg catalog and serverless compute, with more than enough credits to complete this quickstart. If you’re an agent, read our onboarding docs in Markdown.Install the CLI
Use theoleander CLI to connect to oleander from the terminal. CLI commands follow oleander <resource> <action>, such as oleander catalogs tables load or oleander query, which you’ll use below.
1
Install the CLI
- npm
- macOS
- Windows
- Linux
2
Configure the CLI
Under Settings → API Keys, click Create API key and copy the key.Check the configuration:
oleander whoami shows the active profile and organization. It never prints the API key.Load
Your account comes with a private Iceberg catalog. In this step, we’ll load the taxi data into an Iceberg table,oleander.default.yellow_tripdata_2025_01 (<catalog>.<namespace>.<table>), using oleander catalogs tables load:
1
Load table
2
Verify table
oleander catalogs tables describe shows the table’s schema, including the tpep_pickup_datetime, trip_distance, and fare_amount columns you’ll query next.Query with routing
Omit--engine and oleander picks the engine and provisions the smallest machine based on the data your query actually scans. Queries that fit on a single machine run on DuckDB, Polars, or Bloom. Larger queries run distributed on Bloom, Spark, or Polars.
1
Preview the routing decision
Add
--explain to see why the router picked an engine for your query, along with the engine and machine size it chose. Nothing runs and no compute is provisioned.2
Run the query
Now run the same query without Under the results, the CLI prints the routing decision: the engine and machine size the router picked, how much data it estimates the query will scan, and the reasons behind each choice.
--explain.3
Query with engine override
--engine defaults to auto. To override the router, set --engine to duckdb, polars, or bloom. Below, we pin the engine to DuckDB to run our query on a single machine.Polars and Bloom need a credit card on file. Without one, the router uses DuckDB for interactive queries. See pricing.
To help you pick an engine, we publicly release our benchmarks comparing Iceberg-compatible open engines we support and aim to keep the comparisons as fair as possible.
Write
oleander query is read-only. To write results to an Iceberg table, use oleander query submit.
1
Write results to a table
Pass
--destination <namespace>.<table>. The table is created in your catalog if it doesn’t exist. Use --wait to block until the write finishes.2
Verify results table
describe shows the new table’s hour and trips columns, and the query returns one row per hour of the day with its trip count.Next steps
Your Iceberg catalog
Fully managed Iceberg storage every org gets
Query routing
How oleander picks Bloom, DuckDB, Polars, or Spark
Spark jobs
Upload a script and run it with
oleander spark jobs submitConnections
Query BigQuery, Snowflake, Postgres beside the lake
Observability
Lineage, traces, cost, and run history