Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

stephen9834 avatar image
stephen9834 asked ·

Can we restore a keyspace which contains a UDT to another keyspace?

Hi Team, I just read following question and i have one confusion please help me to clear my understandings .
https://community.datastax.com/questions/2345/how-to-restore-cassandra-snapshot-to-a-different-k.html

But as per documentation It is not possible to restore/load an SSTable with a UDT to another keyspace because a UDT belongs to a specific keyspace. in such case how can we still clone app data keyspace with different name . could you please guide method which is suitable for this case.

Requirement :
Create copy of dev_ks1 keyspace but with different name i.e ui_ks1 . dev_ks1 has many table which has few udt.

Which method can we use in this case ?

backuprestoreuser-defined type
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

It is not possible to restore data which contains UDT columns to another keyspace at this point.

There is an outstanding feature request (internal ID DB-4279) that will hopefully be implemented in a future release.

I'm not in a position to provide an estimate since the solution is still being worked on. I will update this post for when it is released. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.