From a4904a8cf8d053eb08ac0dfa86bcceaef3df8fde Mon Sep 17 00:00:00 2001 From: Marcel Coetzee Date: Fri, 5 Apr 2024 23:19:33 +0200 Subject: [PATCH] Set settings on local #1055 Signed-off-by: Marcel Coetzee --- dlt/destinations/impl/clickhouse/clickhouse.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlt/destinations/impl/clickhouse/clickhouse.py b/dlt/destinations/impl/clickhouse/clickhouse.py index 7369a62149..362e26a4d1 100644 --- a/dlt/destinations/impl/clickhouse/clickhouse.py +++ b/dlt/destinations/impl/clickhouse/clickhouse.py @@ -258,6 +258,10 @@ def __init__( qualified_table_name, file_path, fmt=clickhouse_format, + settings={ + "allow_experimental_lightweight_delete": 1, + "allow_experimental_object_type": 1, + }, ) except clickhouse_connect.driver.exceptions.Error as e: raise LoadJobTerminalException(