shaped-ai / target-clickhouse

Meltano Target for Clickhouse
Apache License 2.0
8 stars 15 forks source link

Add 'optimize_after' option #107

Closed akurdyukov closed 7 months ago

akurdyukov commented 7 months ago

MergeTree engine family can remove duplicates on running 'OPTIMIZE TABLE' statement. This PR adds option to invoke 'OPTIMIZE' after data insertion. Includes my previous PRs