database - Cassandra: copy null -
i have problem copy command in cassandra. try move old database on new server when use copy receives error:
failed import 1 rows: parseerror - invalid literal int() base 10: 'null', given without retries
some fields null , need keep informations. csv created copy to:
copy tabel './db.csv' null='null'
if try make csv without null='null' receives error:
failed import 1 rows: parseerror - invalid literal int() base 10: '', given without retries
how can assign null int ? cassandra version: [cqlsh 5.0.1 | cassandra 2.2.6 | cql spec 3.3.1 | native protocol v4]
i have found bug description in jira:
https://issues.apache.org/jira/browse/cassandra-11549
and patch worked me both on linux , windows. have manually replaced 1 line of code in given file:
https://github.com/stef1927/cassandra/commit/6e7664380bb6ddea37efd5f866b7631fdc84bdac
does work well?
Comments
Post a Comment