Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

ClickHouse (BETA)

Connect your ClickHouse database to decube to ingest catalog metadata and track view table lineage

ClickHouse is a column oriented database built for high volume analytical workloads. Connecting it to decube brings your ClickHouse schemas, tables, columns, and views into the Catalog, and maps how your view tables depend on the data underneath them.

Supported Capabilities

General

  • Metadata — metadata extraction and display of asset information (tables, columns, schemas). Types collected: Schema, Table, Column, View

  • View Table — view tables, which are virtual tables based on SQL queries

Lineage

  • View Table Lineage — tracks virtual tables (views) and their data dependencies

General

  • Profiling

  • Preview

  • Data Quality (Classic)

  • Data Quality V2 — not supported yet

  • External Table

  • Stored Procedure

Connection Requirements

To connect ClickHouse, provide decube with credentials for your database. At a minimum, decube requires:

  • username

  • password

  • host address

  • host port

A database is not required. decube maps a ClickHouse database to the Schema asset type, so you control which databases to ingest through the whitelist and blacklist schema settings.

Use the source name to recognise this particular source inside the decube application.

Configuring a Custom ClickHouse User

A dedicated database user follows the principle of least privilege. decube gets only the permissions it needs to read your metadata, and nothing that widens your database exposure.

1. Create the decube user

Log in to your ClickHouse instance (Self-Hosted or Cloud) with an administrative account and run:

2. Grant the required permissions

decube requires the following grants on the DECUBE user to ingest catalog metadata:

Security

If security measures protect access to your database, whitelist the decube IP addresses. See IP whitelisting for the address list, and enabling VPC access for the full set of connectivity options.

Encryption and SSL Configuration (HTTPS)

decube connects to ClickHouse over HTTPS when you turn on the Enable SSL toggle.

If your enterprise database or cloud environment enforces custom CA verification, select Use Customer CA Cert and upload your .pem or .crt certificate file.

Last updated