v.20.10Improvement
Change Version Column Type in VersionedCollapsingMergeTree with ALTER Query
Now it's possible to change the type of version column forVersionedCollapsingMergeTreewithALTERquery. #15442 (alesapin).
Why it matters
This feature solves the limitation of having a fixed version column type inVersionedCollapsingMergeTree tables, enabling users to modify the version column's data type as needed without recreating the table. It adds flexibility and simplifies schema evolution for versioned collapsing merge trees.How to use it
Use anALTER TABLE query to change the type of the version column. For example, you can run:ALTER TABLE table_name MODIFY COLUMN version_column_name NewDataType