You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2016/06/02 14:18:59 UTC

[jira] [Resolved] (CASSANDRA-11945) CQLSH COPY FROM attempts to parse null timestamp value representatives

     [ 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)