!Before doing it please test on your test data!
create new column
ADD COLUMN
new_name UInt32 DEFAULT CAST(0, 'UInt32');
later set value
UPDATE new_name = old_name WHERE 1;
Not sure but I think it's better to wait until you merges are finished
drop column
DROP COLUMN old_name;
That's it!
Комментариев нет:
Отправить комментарий