You have created a HetuEngine administrator by referring to Creating a HetuEngine User.
Parameter |
Description |
Example Value |
---|---|---|
Name |
Name of the data source to be connected. The value can contain only letters, digits, and underscores (_) and must start with a letter. |
clickhouse_1 |
Data Source Type |
Type of the data source to be connected. Choose JDBC > ClickHouse. |
ClickHouse |
Description |
Description of the data source. The value can contain only letters, digits, commas (,), periods (.), underscores (_), spaces, and line breaks. |
- |
Parameter |
Description |
Example Value |
---|---|---|
Driver |
The default value is clickhouse. |
clickhouse |
JDBC URL |
JDBC URL of the ClickHouse data source.
|
jdbc:clickhouse://10.162.156.243:21426, jdbc:clickhouse://10.162.156.243:21425, or jdbc:clickhouse://[fec0::d916:8:5:164:200]:21426 |
Username |
Username used for connecting to the ClickHouse data source. |
Change the value based on the username being connected with the data source. |
Password |
User password used for connecting to the ClickHouse data source. |
Change the value based on the user password for connecting to the data source. |
Case-sensitive Table/Schema Name |
Whether to support case-sensitive names or schemas of the data source. HetuEngine supports case-sensitive names or schemas of the data source.
|
- |
Parameter |
Description |
Example Value |
---|---|---|
use-connection-pool |
Whether to use the JDBC connection pool. |
true |
jdbc.connection.pool.maxTotal |
Maximum number of connections in the JDBC connection pool. |
8 |
jdbc.connection.pool.maxIdle |
Maximum number of idle connections in the JDBC connection pool. |
8 |
jdbc.connection.pool.minIdle |
Minimum number of idle connections in the JDBC connection pool. |
0 |
jdbc.connection.pool.testOnBorrow |
Whether to check the connection validity when using a connection obtained from the JDBC connection pool. |
false |
jdbc.pushdown-enabled |
Whether to enable the pushdown function. Default value: true |
true |
jdbc.pushdown-module |
Pushdown type.
|
- |
clickhouse.map-string-as-varchar |
Whether to convert the ClickHouse data source of the String and FixedString types to the Varchar type. Default value: true |
true |
clickhouse.socket-timeout |
Timeout interval for connecting to the ClickHouse data source. Unit: millisecond Default value: 120000 |
120000 |
case-insensitive-name-matching.cache-ttl |
Timeout interval for caching case-sensitive names of schemas or tables of the data sources. Unit: minute Default value: 1 |
1 |
You can click Delete to delete custom configuration parameters.
Name |
ClickHouse Data Type |
|
---|---|---|
ClickHouse data types supported by HetuEngine |
UInt8 |
Decimal128(S) |
UInt16 |
Boolean |
|
UInt32 |
String |
|
UInt64 |
Fixedstring(N) |
|
Int8 |
UUID |
|
Int16 |
Date |
|
Int32 |
DateTime([timezone]) |
|
Int64 |
Enum |
|
Float32 |
LowCardinality(data_type) |
|
Float64 |
Nullable(typename) |
|
Decimal(P, S) |
IPv4 |
|
Decimal32(S) |
IPv6 |
|
Decimal64(S) |
- |
Name |
Supported Table and View |
---|---|
Tables that support the interconnection between HetuEngine and ClickHouse |
Local table (MergeTree) |
Replicated table (ReplicatedReplacingMergeTree) |
|
Distributed table |
|
Views that support the interconnection between HetuEngine and ClickHouse |
Normal view |
Materialized view |