Skip to main content

Apache Superset

At a glance
  • Problem solved: give every employee, including those who cannot write SQL, a fast and open tool to explore, visualize and share data stored in big data engines (Druid, Presto, Hive), which the BI tools on the market served poorly.
  • Era: hackathon at Airbnb in 2015, open source in March 2016 (under the name Caravel), Apache Incubator in May 2017, Apache top-level project in November 2020 (announced on 21 January 2021), version 1.0 in January 2021.
  • Created by: Maxime Beauchemin at Airbnb, also the creator of Apache Airflow.
  • Category: BI web application (exploration, visualization, dashboards, SQL editor).

Historical context​

In 2015, Airbnb invests heavily in Hive, Presto and Druid. According to Maxime Beauchemin, none of these engines integrates well with the solutions of BI vendors at the time. Analysts use Tableau, R, Jupyter, Airpal or Excel, but a lightweight, shared tool that keeps pace with thought is missing: according to the launch post, 10 to 30 seconds of waiting are enough to break the flow of an analysis.

Beauchemin was a data warehouse architect at Ubisoft, then worked on analytics at Yahoo! and Facebook, before joining Airbnb where he creates Airflow. In 2015, during a three-day hackathon, he starts a visualization front end on top of Druid, inspired by Scuba, the fast exploration tool he used at Facebook. The project first has another name, Panoramix according to Beauchemin himself in a podcast [S] (spelling to be confirmed in writing).

On 30 March 2016, Airbnb opens the code under the name Caravel, "a data exploration and dashboarding platform". It is later renamed Superset, a name evoking collections and sets of data. On 9 February 2017, Airbnb presents SQL Lab, an integrated SQL editor, and reports more than 10,000 stars and 100 contributors on GitHub. The project enters the Apache Incubator on 2 May 2017.

After Airbnb, Beauchemin spends a year at Lyft, where Superset gains geospatial visualizations based on deck.gl. In early 2019, he founds Preset, announced on 9 October 2019, to offer Superset as a hosted service. Superset graduates from the incubator on 19 November 2020; the ASF announces it on 21 January 2021, a few days after version 1.0.

Key idea​

Superset does not store data: it is a thin visualization layer on top of existing databases. It generates SQL through SQLAlchemy, has it executed by the warehouse or query engine, then displays and caches the result. A lightweight semantic layer (metrics, calculated columns, labels) lets non-specialists "slice and dice" without writing SQL, while SQL Lab serves advanced users.

How it works​

  • Application: Python (Flask) backend with an API, and a React frontend.
  • Metadata database: stores chart and dashboard definitions, users and logs; tested with PostgreSQL and MySQL (SQLite only for trials).
  • Connectors: any "SQL-speaking" database with a Python DB-API driver and a SQLAlchemy dialect; the documentation announces 81 of them in November 2026 (Druid, Pinot, Trino, Snowflake, BigQuery...). No driver ships by default: the one for each database must be installed.
  • Caching layer: keeps query results so the warehouse is not hit on every display, and acts as a message broker.
  • Workers (Celery, worker and beat): asynchronous SQL Lab queries, scheduled alerts and reports, dashboard thumbnails.
  • SQL Lab: tabs, history, metadata browser, long-running queries run asynchronously, CREATE TABLE AS to store a result, Jinja templates to parameterize queries.
  • Security: roles and permissions per database connection and per table; for a SQL Lab query, Superset parses the SQL to find the tables involved.

Connecting a database means providing a SQLAlchemy URI, for example:

trino://analyste@trino.example.com:443/hive
postgresql://superset:secret@db.example.com:5432/analytics

By the numbers​

FigureContextSource
3 daysLength of the Airbnb hackathon where the first version was born (2015)Preset blog, 2019
10 to 30 secondsDelay enough to break the flow of thought, a design argument (2016)Airbnb blog, 2016
Less than a yearFrom hackathon to open source (March 2016)Airbnb blog, 2016
10,000 stars, 100 contributorsGitHub popularity less than a year after opening (February 2017)Airbnb blog, 2017
9 companiesUsers cited by the ASF, including Airbnb, American Express, Netflix, Twitter (January 2021)ASF press release
$12.5M then $35.9MPreset funding rounds (October 2019, August 2021) [S]SiliconANGLE
81Databases supported, at varying levels (November 2026)Superset documentation

Milestones​

  • 2015: three-day hackathon at Airbnb, a front end for Druid.
  • 30 March 2016: open source under the name Caravel.
  • 9 February 2017: Superset name and launch of SQL Lab.
  • 2 May 2017: enters the Apache Incubator.
  • Early 2019: Maxime Beauchemin founds Preset (announced on 9 October 2019).
  • 19 November 2020: graduates from the incubator, top-level project.
  • 18 January 2021: Apache Superset 1.0.
  • 21 January 2021: ASF press release announcing the top-level project.
  • August 2021: Preset Cloud generally available [S].

Did you know?​

  • Three names in two years: Panoramix, Caravel, then Superset, chosen because it "alludes to multiple collections and sets of data".
  • Same author as Airflow: Maxime Beauchemin created both projects at Airbnb, the Airflow orchestrator and then Superset.
  • Born from Scuba: the original goal was to recreate, outside Facebook, the Scuba experience, by plugging a front end onto Druid, which had none.
  • From Lyft to Uber: at Lyft, Superset adopts deck.gl, an open source visualization library from Uber, for large geospatial maps.

Strengths and limitations​

StrengthsLimitations
Open source (Apache 2.0), ASF governanceNo engine of its own: speed depends on the queried database
Plugs into almost any SQL database through SQLAlchemyDeliberately lightweight semantic layer
No-code interface and SQL editor in the same toolAdvanced features (cache, async, alerts) require a cache and workers to operate
Fine-grained permissions per database and per tablePyPI install limited to the application, cache and workers to configure yourself

Place in the system​

  • Presentation layer on top of engines: Druid and Pinot for real time, Trino, Hive, Impala or ClickHouse for analytics.
  • Sibling of Airflow: same author, same company (Airbnb); Airflow is opened in June 2015, Superset in March 2016.
  • Open source alternative to proprietary BI tools such as Tableau or Looker.

Sources​

To do
  • Spelling and origin of the name Panoramix: only an oral source [S] was found.
  • Exact date of the rename from Caravel to Superset (announced in the 9 February 2017 post).
  • Month of the 2015 hackathon, from a public source.
  • Current number of contributors, from a public source.
  • Supported authentication methods (LDAP, OAuth...), to be sourced in the documentation.