Best way to perform schema migration in Clickhouse?
I am using Clickhouse for storing analytics data. Right now an example is I have a table with AggregatingMergeTree as the engine. Now in the event where I need to add another column which must be part of the sorting keys used by the engine for aggregation, which is the best way to add that? From what I have read you can add a new sorting key when column is also new.
(1) Is there any consequence for this action as when it is done, shouldn't the entire table reordered?
(2) Will I require any downtime/issues while doing this?
(3) Any other factors which I should consider?
Please advise.