williamcodes
williamcodes

Reputation: 7216

cassandra "invalid column name type"

I'm running into an "Invalid column name type" error in Cassandra when copying data into a table. This data was extracted from the same table in a different Cassandra database.

cqlsh:test> COPY things (id,field1,field2,field3) from '~/code/things.csv';

Here's the response I get:

Using 7 child processes
Invalid column name type

What does this error mean? It doesn't seem to be anywhere on the internet.

Upvotes: 2

Views: 767

Answers (1)

Chris Lohfink
Chris Lohfink

Reputation: 16400

Does your csv have a header with a type (reserved word) column? If so try editing it to be things_type

Upvotes: 4

Related Questions