An open API service indexing awesome lists of open source software.

https://github.com/chdb-io/chdb-superset

chdb + superset demo
https://github.com/chdb-io/chdb-superset

Last synced: 2 months ago
JSON representation

chdb + superset demo

Awesome Lists containing this project

README

        

# chdb + superset

Docker demo showcasing chdb + Apache Superset connectivity

### Instructions
Clone this repository and use docker compose to initialize the demo

```
docker compose pull
docker compose up -d
```

Once all services are started, initialize the system and add an `admin` user

```
docker exec -ti superchdb superset-init
docker exec -ti superchdb superset import_datasources -p /etc/chdb.yml
```

### Configuration

Access Superset on port `8088` and create a Database Connection:

##### Name
```
chdb
```
##### SQLALCHEMY URI
```
clickhousedb://chdb:8123/database?secure=false
```

### Usage

![image](https://github.com/chdb-io/chdb-superset-demo/assets/1423657/0f62c46b-e689-4a98-9c6a-da6f29367658)

![image](https://github.com/chdb-io/chdb-superset-demo/assets/1423657/d28d3b56-0d36-4d34-a24c-a0b8e2a1491d)


#### Preset.io
When using chdb securely with preset.io Superset, configure `ClickHouse Connect` as follows:

##### SQLALCHEMY URI
```
clickhouse+http://chdb.fly.dev:443/db?protocol=https
```