Apache Superset now with IRIS
Apache Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.
And now it is possible to use with InterSystems IRIS as well.
An online demo is available and it uses IRIS Cloud SQL as a data source.
.png)
Apache Superset provides a bunch of examples, which were successfully loaded to IRIS without any issues, and displayed on example dashboards.
The support for IRIS is implemented with a Python package named superset-iris, which can be installed in Superset installed manually.
Superset uses SQLAlchemy as an engine for a database, so, the package superset-iris uses sqlalchemy-iris.
When the package is installed in the Superset environment, it becomes possible to select InterSystems IRIS from the list of supported databases.
.png)
.png)
To connect to IRIS database, it requires SQLAlchemy URI in form iris://{login}:{password}@{hostname}:{port}/{namespace}
Test connection should check if the server is available. And Then press Connect, to finish adding the database.
In the same editing database form, on the Advanced Tab, and in Security block, option named
Allow file uploads to database, which will allow to upload CSV files and construct tables with data in IRIS based on it.
SQL Lab, allows doing SQL Queries
.png)
As well as collect and display information about existing Schemas and tables in it, preview those tables and offers to construct a simple SQL Query with all columns.
.png)
To try it locally. Clone the repository
git clone https://github.com/caretdev/superset-iris.git superset-iris
cd superset-irisStart Superset with Docker-Compose
docker-compose pull
docker-compose up -dDuring the start it imports example data to IRIS Database, it will take a while, to wait until it's done, run this command
docker-compose logs -f superset-initWhen the command above finishes working, go to http://localhost:8088/dashboard/list/. Dashboards are available without authorization. To access SQL Lab use admin/admin as login and password.
Please vote on the contest
Comments
Awesome, how do you position this tool compared to irissqlcli if it had a web version?
irissqlcli actually has a web version too, but, yeah, it is still a terminal, and not so powerful
@Dmitry Maslennikov
Thank you for implementing the idea from InterSystems Ideas: Add IRIS as a supported database for Apache Superset 👏
I've added support for IRIS to the migration tool Alembic based on SQLAlchemy
And with this support, Apache Superset can completely operate on IRIS, not just for analyses, but just for its own Superset's needs too.