I am trying to import a .csv file to Cassandra by using the COPY command in the CQL. The problem is that, after executing the command, the console displays that '327 rows imported in 0.589 seconds' but only the last row from the csv file gets into the Cassandra table, and the size of the table is only one row.
Here is the command that i am using for copying:
copy test from '/root/Documents/test.csv' with header=true;
And when i do select * from test; it shows only one row.
Any help would be appreciated.