0 votes
Hi,

Can DataIku connect to Clickhouse database, if no is it in the roadmap ?

Best Regards,

Stephane.
by
reopened by

1 Answer

+1 vote
Best answer

Hi Stephane,

Dataiku can connect to Clickhouse as a generic Database but does not support this Database as Clickhouse features a specific SQL language.

So while, you might be able to read/write data from this database, you will have to rely mainly on handwritten queries (SQL queries recipes) and accept some poor performance on large tables as DSS will connect to Clickhouse over an HTTP connection (unlike clickhouse-client).

Here is what I did to connect to Clickhouse:

- Download Clickhouse JDBC driver (https://github.com/yandex/clickhouse-jdbc) from maven:

http://central.maven.org/maven2/ru/yandex/clickhouse/clickhouse-jdbc/0.1.53/clickhouse-jdbc-0.1.53-shaded.jar

- Copy the file into <DSS HOME>/lib/jdbc

- Restart DSS

- Create a new connection of type "Other SQL Database" and fill Basic params section 

- JDBC driver class: ru.yandex.clickhouse.ClickHouseDriver

- JDBC URL: jdbc:clickhouse://<host>:<port>[/<database>] (in my case: jdbc:clickhouse://localhost:8123)

Hope this helps,
Arnaud - Dataiku

 

 

by
selected by
1,296 questions
1,323 answers
1,506 comments
11,862 users

┬ęDataiku 2012-2018 - Privacy Policy