cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10906) List index out of range
Date Fri, 15 Apr 2016 09:38:25 GMT


Alex Petrov commented on CASSANDRA-10906:

Couldn't reproduce it on {{2.0}}, {{2.1}} or {{3.x}}. I've "reverse-engineered" schema and
made a {{COPY}} command using information from description, although had to add the time format.

CREATE TABLE testtable (SeasonType int,
                        Season int,
                        Week int,
                        Date timestamp,
                        AwayTeam text,
                        HomeTeam text,
                        Channel text,
                        PointSpread double,
                        OverUnder double,
                        StadiumID int,
                        PRIMARY KEY (SeasonType, Season , Week, Date, AwayTeam, HomeTeam,
COPY testtable FROM '/tmp/Schedule.csv' WITH header=true and delimiter='|' and datetimeformat='%m/%d/%Y

If you can provide more precise reproduce steps, I'd be happy to give it another try.

> List index out of range
> -----------------------
>                 Key: CASSANDRA-10906
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: java version "1.8.0_66", 64-bit
>            Reporter: Scott Chaffee
>         Attachments: Schedule.csv
> Using COPY FROM command to import a .csv file with a header row and '|' delimited you
get an error back "List index out of range"

This message was sent by Atlassian JIRA

View raw message