The Clickhouse source reads tables from a ClickHouse server into the Lake. It connects over the server's HTTP interface, or HTTPS with SSL/TLS on. Use this page to fill in each field of the Clickhouse form. The steps shared by every SQL engine are on Connect a SQL database.
Prerequisites
A ClickHouse user with read access to the databases and tables you want to load.
The server's HTTP interface accepts connections from DataMind, usually on port 8123, or 8443 for HTTPS.
On the Connection step, click Test connection. The button reads Testing… while it runs.
Connection test passed means DataMind reached the server and signed in. A passing test can also show Detected source timezone: with the server's timezone. Connection test failed shows the server's message with a copy button.
On Datetime, check the summary: Name, Server, Username and Security.
The test is optional and never saves the source. To edit or duplicate the source later, see Connect a SQL database.
Questions, answered
Which port do I enter: 8123, 8443 or 9000?
The port of the HTTP interface: 8123 by default, or 8443 for HTTPS. The source does not use the native protocol port, such as 9000, so a test on that port fails.
Why is there no Database field?
The source reads every database the user can see, except the system databases system, information_schema, INFORMATION_SCHEMA and _temporary_and_external_tables. You choose the tables you want when you import. To limit what the source sees, limit the user's grants on the server.
Why do my tables sit under a schema named default?
ClickHouse has no schemas inside a database. The Lake shows each ClickHouse database with a single schema called default, and its tables beneath it.
Do my column types change on load?
Types arrive as the source reports them; a FixedString column arrives as String. See Data types.
Can I send data back to ClickHouse?
Yes. Clickhouse is also offered as a Writeback destination, with the same connection fields. See Add and manage destinations.