Reputation: 2936
I am using a Cassandra database with several key-spaces. Now i want to use that key-spaces within another system.
What are valid options to achieve that?
Upvotes: 1
Views: 155
Reputation: 1231
You can use the cqlsh COPY
command to export your data into csv. Then you can import csv into your other database if it is supported, e.g.:
COPY keyspace.tablename (column1, column2, ..) TO '../export.csv' WITH HEADER = TRUE ;
https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlshCopy.html
Upvotes: 2