craig mcmillan created CASSANDRA-11945:
------------------------------------------
Summary: 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
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)