cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-11945) CQLSH COPY FROM attempts to parse null timestamp value representatives
Date Thu, 02 Jun 2016 14:18:59 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefania resolved CASSANDRA-11945.
----------------------------------
    Resolution: Duplicate

Should be fine in 3.0.6/3.6.

> CQLSH COPY FROM attempts to parse null timestamp value representatives
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-11945
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11945
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: OSX / [cqlsh 5.0.1 | Cassandra 3.5 | CQL spec 3.4.0 | Native protocol
v4]
>            Reporter: craig mcmillan
>            Assignee: Stefania
>
> CQLSH COPY FROM is broken when the table includes timestamp columns with null values
> create table foo (id uuid primary key, t timestamp);
> insert into foo (now(), null);
> copy foo to 'foo.csv';
> copy foo from 'foo.csv';
> ... borks with 
> Failed to import 1 rows: ParseError - can't interpret '' as a date with format %Y-%m-%d
%H:%M:%S.%f%z or as int,  given up without retries
> Failed to process 1 rows; failed rows written to import_erdev_foo.err



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message