rill
rill copied to clipboard
Support configuring the OLAP connector in `rill.yaml` and with `rill env configure`
High-level changes:
- You can now configure the OLAP connector in
rill.yamlinstead of using the--db-driverflag:
# rill.yaml
olap_connector: clickhouse
- When running
rill env configure, you will be prompted to provide credentials for the OLAP connector (unless it is DuckDB):
$ rill env configure --project
Finish deploying your project by providing access to the connectors. Rill requires credentials for the following connectors:
- druid (used by my_dashboard)
Connector "druid" requires credentials.
? connector.druid.dsn : ...
Detailed changes:
- Adds support for setting an
olap_connector: <name>inrill.yaml. If set, it takes precedence over the driver that is set using--dbor--prod-db-driver. - Deprecates the
rill start --db ... --db-driver ...andrill deploy --prod-db-driver ... --prod-db-dsn ...flags (but keeping them for backwards compatibility). Moving forward:- The
olap_connectorkey inrill.yamlcan be used to set the driver - The DSN can be set using variables (e.g.
--var connector.druid.dsn=...)
- The
- Updates
rill env configureto also prompt for credentials for the OLAP connector (unless it is DuckDB) - Adds a new DuckDB config key
connector.duckdb.pathas a more DuckDB-native alternative toconnector.duckdb.dsn - Renames
DeleteInstance.drop_dbtodrop_olapand moves the default behavior of only dropping for DuckDB to the runtime. This means it won't accidentally be set to true if deleting an instance that has setolap_connectorthroughrill.yaml.