diff --git a/dlt/destinations/impl/clickhouse/clickhouse.py b/dlt/destinations/impl/clickhouse/clickhouse.py index 307bbaaf46..6cf3d9b49f 100644 --- a/dlt/destinations/impl/clickhouse/clickhouse.py +++ b/dlt/destinations/impl/clickhouse/clickhouse.py @@ -249,7 +249,7 @@ def __init__( "allow_experimental_lightweight_delete": 1, "allow_experimental_object_type": 1, }, - # compression=None if compression == "none" else compression, + compression=None if compression == "none" else compression, ) except clickhouse_connect.driver.exceptions.Error as e: raise LoadJobTerminalException( diff --git a/dlt/destinations/impl/clickhouse/configuration.py b/dlt/destinations/impl/clickhouse/configuration.py index 562e0ca2e4..075150538d 100644 --- a/dlt/destinations/impl/clickhouse/configuration.py +++ b/dlt/destinations/impl/clickhouse/configuration.py @@ -75,7 +75,7 @@ def to_url(self) -> URL: class ClickHouseClientConfiguration(DestinationClientDwhWithStagingConfiguration): destination_type: Final[str] = "clickhouse" # type: ignore[misc] credentials: ClickHouseCredentials # type: ignore - dataset_name: Final[str] = "dlt" # type: ignore + dataset_name: Final[str] = "" # type: ignore """dataset name in the destination to load data to, for schemas that are not default schema, it is used as dataset prefix""" # Primary key columns are used to build a sparse primary index which allows for efficient data retrieval,