ClickHouse MergeTree Support #1387
Labels
bug
Something isn't working
community
This issue came from slack community workspace
destination
Issue related to new destinations
Support for MergeTree Engine in ClickHouse Destination
Problem
The ClickHouse destination in dlt 0.4.11 currently only supports the
ReplicatedMergeTree
table engine. However, many users have requested support for the standard non-replicatedMergeTree
engine to enable local development and testing deployments.Desired Behavior
The ClickHouse destination should correctly handle
ENGINE=MergeTree
and create the appropriate table structure in ClickHouse.Proposed Solution
Enhance the ClickHouse destination adapter with the following:
ReplicatedMergeTree
engineMergeTree
Allow users to explicitly specify the desired engine (
MergeTree
orReplicatedMergeTree
) in the destination configuration. This will override the automatic detection.Properly interpolate the provided engine into the
CREATE TABLE
statement executed against ClickHouse.Note: To limit scope, this enhancement will not include support for specifying replication, zookeeper or shard details for the
ReplicatedMergeTree
engine. Users requiring those customizations can continue to specify the full engine definition in their configuration.Considerations
ReplicatedMergeTree
behaviorThe text was updated successfully, but these errors were encountered: