v.20.4New Feature
Add ALTER TABLE RENAME COLUMN for MergeTree Table Engines
Add ALTER TABLE ... RENAME COLUMN for MergeTree table engines family. #9948 (alesapin)Why it matters
This feature allows users to rename columns in tables using MergeTree family engines without needing to recreate or migrate data manually, simplifying schema evolution and maintenance.How to use it
Use theALTER TABLE <table_name> RENAME COLUMN <old_name> TO <new_name> syntax to rename a column in a MergeTree table.