Clickhouse/sink: deleted system column not used in shema #219
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Clickhouse target tables contain system column __data_transfer_delete_time for soft deletes. But it is not compatible and not included in schema creation which only contains __data_transfer_commit_time as following ENGINE=ReplacingMergeTree(__data_transfer_commit_time). But official doc says it can handle deletes as well ENGINE = ReplacingMergeTree(Version, Deleted). First approach can not be filtered with FINAL and require extra effort on selection for each table like ... WHERE table.__data_transfer_delete_time=0. Not clear the purpose of soft deletes and it would be nice to have the original deleted option support as well.
The text was updated successfully, but these errors were encountered: