Can DataIku connect to clickhouse ?

Steph
Steph Registered Posts: 1 ✭✭✭✭
Hi,

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

Best Regards,

Stephane.
Tagged:

Best Answer

  • apichery
    apichery Dataiker, Alpha Tester, Registered, Product Ideas Manager, Moderator Posts: 62 Dataiker
    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

Answers

Setup Info
    Tags
      Help me…