Cassandra - Save a table in CSV and loading a CSV to a table in CQLSH

less than 1 minute read

1
2
cqlsh:test_keyspace> COPY test_table TO 'test_table.csv' WITH HEADER=true;
cqlsh:test_keyspace> COPY test_table FROM 'test_table.csv' WITH HEADER=true;