Re:A practical approach to schema changes in ClickHouse
by Randalthorro on Tuesday December 12, 2023 @09:36AM
(#38612643)
Really great stuff. It's a pain to do schema management with clickhouse when materialized views start coming into the picture.
[ Parent
| on HN ]
Re:A practical approach to schema changes in ClickHouse
by AntonFriberg on Tuesday December 12, 2023 @10:04AM
(#38613058)
Thanks Randal! I hope to be able to complete a follow-up post on how to automate most of the schema changes by utilizing a form of data contract with the data owner of each metric table. It is very easy to roll out incorrect changes when working with the materialized views in a sharded ClickHouse table due to the need to having to toggle the materialized view and distributed tables when changing the underlying long-term storage tables.