Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.48 KB

File metadata and controls

60 lines (43 loc) · 1.48 KB

{{ cross_reference|safe }}

ClickHouse Driver {{ version }}

{{ heading|safe }}

This driver provides access to ClickHouse, an open-source data warehouse and analytical database.

Installation

The ClickHouse driver can be installed with dbc:

dbc install clickhouse

Connecting

To use the driver, provide the URI of a ClickHouse database as the uri option.

from adbc_driver_manager import dbapi

conn = dbapi.connect(
  driver="clickhouse",
  db_kwargs={
      "uri": "http://localhost:8123/",
  }
)

Note: The example above is for Python using the adbc-driver-manager package but the process will be similar for other driver managers.

Feature & Type Support

{{ features|safe }}

Types

{{ types|safe }}

{{ footnotes|safe }}