
Ibis
A Python dataframe API that compiles to SQL, so the same code runs on DuckDB on a laptop and on BigQuery, Snowflake, PostgreSQL or more than 20 other engines.
- What it is
- Query engines
- Type
- Open source
- Made by
- Ibis project (core team sponsored by Voltron Data)
- License
- Apache 2.0
- Facts checked
- 9 October 2026
What it is
Ibis looks like a dataframe library: you filter, group_by, agg, join and order_by tables in Python. But nothing runs when you write those lines. Ibis builds a lazy expression, and only an action such as to_pandas(), to_pyarrow() or to_polars() sends it to a backend. For most backends Ibis compiles the expression to that engine’s SQL dialect with SQLGlot; the rest are DataFrame backends that get the engine’s own native calls. ibis.to_sql(expr) shows the SQL, and table.sql("...") mixes hand-written SQL into a pipeline.
The backend is chosen by the connection, such as ibis.duckdb.connect() or ibis.bigquery.connect(...), so the idea is to develop against a local file and deploy against the warehouse by changing one line. DuckDB is the default and recommended backend for local data. The list includes DataFusion, Druid, Flink, Impala, PySpark, Athena, BigQuery, ClickHouse, Databricks, DuckDB, Exasol, Materialize, MySQL, Oracle, Polars, PostgreSQL, RisingWave, SingleStoreDB, SQL Server, SQLite, Snowflake and Trino. Because the target is SQL, Ibis follows SQL semantics: tables have no index and no guaranteed row order. Google’s BigQuery DataFrames, a pandas-style API, is built on Ibis.
Why teams pick it
- One API for more than 20 engines: prototype on DuckDB or Polars with a sample, then point the same code at BigQuery, Snowflake or Trino
- Interactive mode for exploring data step by step, with the same expressions reused in pipeline code
- Composes with SQL instead of hiding it: inspect the generated SQL with
ibis.to_sql, or start from a SQL query and continue in Python - Reads CSV and Parquet files directly through the backend, e.g.
con.read_parquet(...)on DuckDB, Polars or DataFusion
Watch out for
- Not a drop-in pandas replacement: no index, no positional access and no guaranteed row order, so pandas code needs rewriting
- Not every operation works on every backend; Ibis publishes an operation support matrix, and portable code sticks to the common subset
- Breaking changes across major versions: 9.0 (May 2024) replaced SQLAlchemy with SQLGlot internally, and 10.0 (February 2025) removed the pandas and Dask backends
- Its own docs say Voltron Data is the primary sponsor and employs most of the core team, so the project depends heavily on one company
Alternatives
What all query engines have in common →
Amazon AthenaAWSAWS’s serverless SQL engine for data in S3: no cluster to run, and on-demand queries cost $5 per TB scanned.
Apache CalciteOpen sourceA Java framework with everything a database needs to understand a query (SQL parser, validator, relational algebra and a rule-based, cost-based optimizer) but no storage of its own, which Hive, Flink, Druid, Dremio, Beam and many other systems embed as their SQL front end and planner.
Apache ZeppelinOpen sourceA self-hosted web notebook where each paragraph runs through an interpreter: Spark, Flink, JDBC, Python and more. Maintained, but behind Jupyter and Databricks in reach.
GizmoSQLOpen sourceA database server that wraps DuckDB (or SQLite) and serves it to many clients over Arrow Flight SQL, with TLS and authentication.
HotdataCommercialA managed SQL engine for AI agents, built in Rust on Apache DataFusion and Arrow: each agent gets short-lived “instant databases” to load data into, then runs read-only SQL, vector, full-text and geospatial queries over an HTTP API or CLI.
Spice.ai OSSOpen sourceA single-binary SQL engine in Rust, built on DataFusion and Arrow, that federates queries across databases, warehouses and lakes, keeps hot datasets in a local accelerated copy, and adds search and LLM APIs on top.
VeloxOpen sourceMeta’s open-source C++ execution engine library: it takes an already-optimized query plan and runs it with vectorized operators, and it is the engine inside Presto’s C++ workers (Prestissimo) and Apache Gluten’s native Spark.How it fits with other technologies
What Ibis uses
- Ibisdefaults to running locally onDuckDB
- Ibiscan execute expressions withPolars
- Ibiscan execute expressions withApache DataFusion
- Ibiscompiles queries to SQL forPostgreSQL
- Ibiscompiles queries to SQL forGoogle BigQuery
- Ibiscompiles queries to SQL forSnowflake
- Ibiscompiles queries to SQL forClickHouse
- Ibiscompiles queries to SQL forTrino
- Ibiscan run expressions on PySpark withApache Spark
What uses Ibis
One lazy expression: printed as PostgreSQL SQL, executed on DuckDB · python
import ibis
from ibis import _
con = ibis.duckdb.connect() # in-memory DuckDB; swap for ibis.postgres.connect(...) etc.
orders = con.create_table("orders", ibis.memtable({
"country": ["DE", "DE", "FR", "US", "US", "US"],
"amount": [120, 80, 50, 300, 20, 90],
}))
revenue = (
orders.filter(_.amount > 30) # lazy: nothing runs yet
.group_by("country")
.agg(revenue=_.amount.sum(), n=_.count())
.order_by(ibis.desc("revenue"))
)
print(ibis.to_sql(revenue, dialect="postgres"))
# SELECT * FROM (SELECT "t1"."country", SUM("t1"."amount") AS "revenue", COUNT(*) AS "n"
# FROM (SELECT * FROM "memory"."main"."orders" AS "t0" WHERE "t0"."amount" > 30) AS "t1"
# GROUP BY 1) AS "t2" ORDER BY "t2"."revenue" DESC NULLS LAST
print(revenue.to_pandas()) # runs on DuckDB
# country revenue n
# 0 US 390 2
# 1 DE 200 2
# 2 FR 50 1See it in a real stack
No architecture uses Ibis yet. Drop it into the playground and wire it up yourself.Open playground →Where it came from2015–2026
Wes McKinney, the creator of pandas, started Ibis in 2015 as a pandas-like interface to Apache Impala. The first release on PyPI was 0.3.0 in July 2015.
The project grew from one engine to many. For years it had no default backend, because nobody on the team was comfortable making pandas, the only in-memory engine at the time, the default. DuckDB changed that: it handles larger-than-memory CSV, Parquet and JSON files, and became the recommended backend for local data. Under the stewardship of Phillip Cloud and a team employed by Voltron Data, which McKinney co-founded, Ibis 9.0 in May 2024 finished “the big refactor” from SQLAlchemy to SQLGlot, and Ibis 10.0 in February 2025 removed the pandas and Dask backends. Version 12.0 followed in February 2026.
Why it’s built this way
- Lazy expressions, not eager dataframes
- A deferred expression can be compiled and shipped to the engine that holds the data. pandas computes each step as you go, which is why the Ibis team said making it behave in a deferred way was hard and eventually dropped it as a backend.
- Compile to SQL
- Most data engines speak SQL and many have no Python API. Generating each engine’s dialect lets one Python API reach all of them, and since 9.0 SQLGlot does the dialect work.
- SQL semantics, not pandas semantics
- Ibis has no index and makes no promise about row order, because, as its pandas guide puts it, SQL “makes no guarantees about row order”. Ibis tables follow the same rules as the database tables they stand for.
- DuckDB as the default
- DuckDB offered “the uber-convenience of SQLite but for analytic use cases” and handles larger-than-memory CSV, Parquet and JSON files, so it became the recommended way to work with local data.
Timeline
- 2015
Wes McKinney starts Ibis for Apache Impala; 0.3.0 on PyPI in July
- 2019
Ibis 1.0 released in March
- 2024
Ibis 9.0 in May completes the move from SQLAlchemy to SQLGlot
- 2025
Ibis 10.0 in February removes the pandas and Dask backends
- 2026
Ibis 12.0 released in February
- Ibis blog: Why Voltron Data supports Ibis (Feb 2024; started in 2015 by Wes McKinney for Impala)
- Ibis docs: Who supports Ibis? (history, Voltron Data)
- Ibis blog: Why DuckDB is the default backend (Feb 2024)
- Ibis blog: Ibis 9.0 release (May 2024; SQLAlchemy to SQLGlot)
- Ibis blog: Farewell pandas, and thanks for all the fish (Aug 2024)
- PyPI: ibis-framework release history
Sources12 · facts checked 9 October 2026
- Ibis README (lazy expressions, SQL compilation, backend list, portability)
- Ibis docs: Why Ibis? (SQLGlot)
- Ibis docs: Ibis for pandas users (no index, no row order, lazy execution)
- Ibis docs: Ibis for SQL programmers
- Ibis docs: Operation support matrix
- Ibis docs: Internals (expressions and operations)
- Ibis docs: Who supports Ibis? (Voltron Data team, BigQuery DataFrames)
- Ibis blog: Why DuckDB is the default backend (Feb 2024)
- Ibis blog: Farewell pandas (pandas and Dask backends removed in 10.0)
- Ibis blog: Ibis 9.0 release (May 2024)
- PyPI: ibis-framework release history
- ibis-project/ibis on GitHub (Apache 2.0)