Skip to main content
Apache Superset is a modern data exploration and visualization platform. It uses SQLAlchemy to query data. Although Mysql Dialect can be used, it does not support largeint. So we developed StarRocks Dialect.

Environment

Notice: If mysqlclient is not installed, an exception will be thrown:
text

Installation

Since dialect does not contribute to SQLAlchemy, it needs to be installed from the source code. If you install superset with Docker, install sqlalchemy-starrocks with root. Install from Source Code
Uninstall

Usage

To connect to the database with SQLAlchemy, the following URL pattern can be used:

Basic Example

Sqlalchemy Example

It is recommended to use python 3.x to connect to the database, eg:

Superset Example

In superset, use Other database, and set url as: