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

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -