Configuration Parameters
Provide the following parameters to use ClickHouse as a destination:SQLAlchemy URL Format
Thesqlalchemy_url should follow this structure:
-
Without password (using default database):
clickhouse://default:@localhost/default -
With credentials:
clickhouse://user:pass123@127.0.0.1:9000/analytics_db
Requirements
- The ClickHouse database must be reachable from the Mage environment.
- Mage requires the
clickhouse-connectPython package to be installed. - The target table should match the schema or allow dynamic schema creation depending on your setup.