itinycheng / flink-connector-clickhouse

Flink SQL connector for ClickHouse. Support ClickHouseCatalog and read/write primary data, maps, arrays to clickhouse.
Apache License 2.0
347 stars 149 forks source link

Proposal to use ReplacingMergeTree for handling updates/deletes. #89

Open subkanthi opened 11 months ago

subkanthi commented 11 months ago

We have an implemention in the https://github.com/Altinity/clickhouse-sink-connector Kafka sink connector where updates/deletes are handled in ReplacingMergeTree.

Deletes can be handled on the newer ReplacingMergeTree with the is_deleted column.

Happy to submit PR.

itinycheng commented 11 months ago

@subkanthi Thank you, I will study it.