destinations.impl.clickhouse.factory
clickhouse Objects
class clickhouse(Destination[ClickHouseClientConfiguration,
"ClickHouseClient"])
__init__
def __init__(credentials: t.Union[ClickHouseCredentials, str, t.Dict[str,
t.Any],
t.Type["Connection"]] = None,
destination_name: str = None,
environment: str = None,
**kwargs: t.Any) -> None
Configure the ClickHouse destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
credentials
- Credentials to connect to the clickhouse database. Can be an instance ofClickHouseCredentials
, or a connection string in the formatclickhouse://user:password@host:port/database
.**kwargs
- Additional arguments passed to the destination config.