I am trying to import data from a CSV file into Cassandra 3.2.1 using the copy command. The file contains only 299 lines with 14 columns. I get an error message:
Failed to import 299 lines: InvalidRequest - code = 2200 [Invalid query] message = "Batch too large"
I used the following copy and tried to increase the batch size:
copy table (Col1,Col2,...)from 'file.csv' with delimiter =';' and header = true and MAXBATCHSIZE = 5000;
I think 299 lines are not too many to import into cassandra, or am I mistaken?
import copy cassandra csv
Emlon
source share