Skip to projects

Daniel Alyoshin

Forward deployed engineerhome
ProjectsAbout

Bridging the gap
between client and codebase

Real experience.
Real solutions.

Choose a tape to playPick one in the studio.Pick one from the projects below.
AV–01Setting the scene…

Projects

Check out my work.

  • Play tape: 01SUPERSET D1Cloudflare D1 in Apache Superset (2025)
  • 02– to 05Coming soon…Blank tapes
  • 03Coming soon…Blank tape
  • 04Coming soon…Blank tape
  • 05Coming soon…Blank tape
  • Play tape: 06ABOUTDaniel Alyoshin (2026)
Want to chat?DA / © 2026
GitHubLinkedIn
PLAYDaniel Alyoshin1 MIN READ

Cloudflare D1 in Apache Superset

2025 · PRIMARY MAINTAINER · 1 minute read

Maintaining the Cloudflare D1 support I helped build for Apache Superset.

In 2025 I was one of the people who built the packages that first connected Apache Superset, the open-source data visualization platform, to Cloudflare D1, a serverless SQLite database. Today I’m their primary maintainer.

Superset connects to D1 through sqlalchemy-d1, a thin layer over sqlalchemy-cloudflare-d1, the maintained community dialect.

Superset installs it through its d1 extra. Superset’s built-in D1 engine spec runs queries on the community driver, which sends them to D1 over HTTPS.

System diagram of how Apache Superset and the Cloudflare D1 packages work together. Inside Apache Superset are three parts: the D1 engine spec, SQLAlchemy’s engine and inspector, and the d1 extra. At install time, the d1 extra installs sqlalchemy-d1, and sqlalchemy-d1 requires sqlalchemy-cloudflare-d1. At run time, the SQLAlchemy engine loads the d1 dialect from sqlalchemy-d1, and the inspector inspects tables and views through it. sqlalchemy-d1 adds what Superset needs. It subclasses the dialect in sqlalchemy-cloudflare-d1, the community package, whose dialect compiles SQL and reads the URL and whose DB-API driver sends SQL with httpx. The engine spec runs Superset’s SQL on that driver, and the driver reaches Cloudflare D1, a serverless SQLite database, over HTTPS through the REST API’s /raw endpoint. Solid lines are run time and dashed lines are install time. The engine spec, the d1 extra and sqlalchemy-d1 are outlined in orange as my changes.
How Superset and the D1 packages work together.
  • [PYTHON]
  • [SQLALCHEMY]
  • [CLOUDFLARE-D1]
  • [APACHE-SUPERSET]
  • PYPI
  • SOURCE
  • SUPERSET PR

REC SEP 2026

AV–01 / VHS

Playing Cloudflare D1 in Apache Superset