How to migrate cassandra cluster column change -
we have use case change cassandra table column (change type int long), since not supported changing int varint supported , fine that.
but in of tables column cluster column , have no way of changing this.
i curious best way handle case.
you can not alter clustering column in cassandra - you'll need make new table , load data table using third party application (cqlsh copy
being simplest, or spark). if you're unable tolerate change in table's name, you'll need backup data, drop old table, , recreate proper types.
Comments
Post a Comment