dlt.destinations.impl.clickhouse_cluster.factory
clickhouse_cluster Objects
class clickhouse_cluster(Destination[ClickHouseClusterClientConfiguration,
"ClickHouseClusterClient"])
__init__
def __init__(credentials: Union[ClickHouseClusterCredentials, str,
Dict[str, Any], Type[Connection]] = None,
destination_name: str = None,
environment: str = None,
**kwargs: Any) -> None
Configure the ClickHouse Cluster destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
credentials (Union[ClickHouseClusterCredentials, str, Dict[str, Any], Type[Connection]], optional):
Credentials to connect to the clickhouse cluster database. Can be an instance of
ClickHouseClusterCredentials or a connection string in the format
clickhouse://user:password@host:port/database
destination_namestr, optional - Name of the destination, can be used in config section to differentiate between multiple of the same typeenvironmentstr, optional - Environment of the destination**kwargsAny - Additional arguments passed to the destination config