Skip to content

Commit

Permalink
Minor improvements to ClickHouse doc
Browse files Browse the repository at this point in the history
- Reference to the connection properties supported by `connection-url`
- Reference to use secrets to configure `connection-password` and `connection-user`
  • Loading branch information
tangjiangling committed Aug 8, 2022
1 parent 7722578 commit e2fffb7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/src/main/sphinx/connector/clickhouse.rst
Expand Up @@ -38,6 +38,16 @@ appropriate for your setup:
connection-user=exampleuser
connection-password=examplepassword
The ``connection-url`` defines the connection information and parameters to pass
to the ClickHouse JDBC driver. The supported parameters for the URL are
available in the `ClickHouse JDBC driver configuration
<https://github.com/ClickHouse/clickhouse-jdbc/tree/master/clickhouse-jdbc#Configuration>`_.

The ``connection-user`` and ``connection-password`` are typically required and
determine the user credentials for the connection, often a service user. You can
use :doc:`secrets </security/secrets>` to avoid actual values in the catalog
properties files.

.. note::

Trino uses the new ClickHouse driver(``com.clickhouse.jdbc.ClickHouseDriver``)
Expand Down

0 comments on commit e2fffb7

Please sign in to comment.