Forum Discussion

sisense-nuna's avatar
sisense-nuna
Cloud Apps
02-27-2023

Connecting to Clickhouse

I was recently speaking with Kat about certified connectors and related status for those connectors – specifically related to Clickhouse, which is listed as a Certified data connector for Sisense.

Are there any Sisense customers out there that are using Clickhouse successfully with Sisense? To us, "successfully" would at a minimum include:

  1. Being able to connect using a Live Connection for interactive query and aggregation via Sisense Notebooks
  2. Being able to load data from Clickhouse into Elasticubes

Thanks all!

11 Replies

Replies have been turned off for this discussion
  • Hello,

    Many people try to establish Live Connections for interactive queries and aggregations through Sisense Notebooks. Additionally, these users have seamlessly loaded data from Clickhouse into Elasticubes, meeting the specified criteria for success. Recently I am completed Salesforce Admin Certification and now I am working on a project . I faced same query during my certification

  • Learner's avatar
    Learner
    Data Storage

    Hello,
    I am able to connect with Clickhouse and create a dashboard on the this data. 
    Simple Steps : 
    1. Go to Data Sources.
    2. Click on Other JDBC from the list. 
    3.  Then fill the information :
          jdbc:clickhouse://"IP of Clickhouse DB":8123/"DatabaseName"
         <user-name>User Name</user-name>
         <password>YourPassword</password>
         com.clickhouse.jdbc.ClickHouseDriver
    after this you will able to connect with Clickhouse.

     

  • Clickhouse supports both MySql and PostgreSql wire protocols. Setting these up on the Clickhouse side allows you to use the MySql or Postgres connectors to connect to Clickhouse. As Sisense can go live to Postgres, you can also go live to Clickhouse using the Postgres connector.

    • sisense-nuna's avatar
      sisense-nuna
      Cloud Apps

      I tried against an the most recent version of Clickhouse and it still fails. Are you doing some magic with the INFORMATION_SCHEMA DB or pg_database tables to get MySQL and PostgreSQL to connect?

    • sisense-nuna's avatar
      sisense-nuna
      Cloud Apps

      And if I set "preferQueryMode=simple" it then complains that pg_database doesnt exist.

    • sisense-nuna's avatar
      sisense-nuna
      Cloud Apps

      And if we try from postgres we get "ERROR: ClickHouse doesn't support extended query mechanism"

  • Learner's avatar
    Learner
    Data Storage

    Hello NUNA,
    I want to connect the Sisense with Clickhouse DB. can you please share the steps or any detail link ? 
    Thanks