largeint. So we developed StarRocks Dialect.
Environment
- Python 3.x
- mysqlclient (pip install mysqlclient)
- Apache Superset
mysqlclient is not installed, an exception will be thrown:
text
Installation
Sincedialect 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
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, useOther database, and set url as: