Limitations
Clickhouse native TCP protocol is not supported. Formal only supports Clickhouse over HTTP.Create a Clickhouse Resource
To create a Clickhouse Resource, follow these steps:- Navigate to the Resources page.
- Click on the “Create Resource” button.
- Select
Clickhousefrom the list of resources. - Fill in the required fields.
- The hostname and port: typically, the port is 8443 when using TLS or 8123 when not using TLS.
- The database name: out of the box, there is a database named
default, use the name of the database that you want to connect to.
- Click on the
Createbutton. - Once the resource is created, you need to create a native user.
- The username and password: out of the box, the username is
default. Use the username appropriate for your use case.
- The username and password: out of the box, the username is
Connect to a Clickhouse Resource
Here is an example of how to connect to a Clickhouse Resource using Clickhouse Connect:Policy Evaluation
Formal supports the following policy evaluation stages for ClickHouse:- Session: Evaluate and enforce policies at connection time
- Post-Request: Evaluate and enforce policies after data retrieval