dlt.destinations.impl.clickhouse_cluster.configuration
ClickHouseClusterCredentials Objects
@configspec(init=False)
class ClickHouseClusterCredentials(ClickHouseCredentials)
alt_hosts
Comma-separated list of alternative host:port pairs.
Used as fallback when connecting to host:port fails. Example: host1:9441,host2:9440.
alt_http_hosts
Comma-separated list of alternative host:http_port pairs.
Used as fallback when connecting to host:http_port fails. Example: host1:8444,host2:8443.
ClickHouseClusterClientConfiguration Objects
@configspec
class ClickHouseClusterClientConfiguration(ClickHouseClientConfiguration)
dlt_tables_table_engine_type
Default table engine to use for dlt tables.
Also applies to dataset sentinel table. Falls back to table_engine_type if set to None.
cluster
Name of the ClickHouse cluster to load data into.
create_distributed_tables
Whether to create distributed tables in addition to standard tables.
Can be overridden per resource using clickhouse_cluster_adapter.
distributed_tables_database
Name of the database to create distributed tables in.
If set to None, uses the same database as standard tables.
distributed_table_suffix
Suffix to append to table names when creating distributed tables.
For example, if set to _dist, a table named events will have a distributed table named
events_dist.
Can be overridden per resource using clickhouse_cluster_adapter.
sharding_key
Sharding key expression to use for distributed tables.
Can be overridden per resource using clickhouse_cluster_adapter.