kamu via native Arrow Flight SQL protocol using Python client.
In this setup:
kamuruns a Flight SQL server - a high-performance protocol for data transfer- In the
Supersetenvironment we install an additionalflightsql-dbapiPython package Supersetuses generic database API provided bySQLAlchemyframeworkflightsql-dbapipackage provides custom engine implementation forSQLAlchemythat translates allSuperset’s queries into Flight SQL protocol
Superset to kamu follow these simple steps:
- Start with being able to run
Supersetlocally usingdocker-compose(see this official guide)- Rest of the guide assumes that you are launching superset in “non-dev” mode using:
- Rest of the guide assumes that you are launching superset in “non-dev” mode using:
- Install flightsql-dbapi Python package into
Supersetcontainer:- Stop and clean up the environment:
- Create
<superset repo>/docker/requirements-local.txtfile (as per this guide) with the following contents:
- Stop and clean up the environment:
- (Optional) Specify your MabBox API Token in
<superset repo>/docker/.env-non-dev - Run
kamuFlight SQL server in a desired workspace: - Start
Supersetviadocker-composeagain - Create a new database connection in
Superset- Use
"Other"database kind - As URL specify:
- Use
- Skip
insecure=Truewhen node is set up with TLS - To authenticate via access token use: