Description
cqlsh's COPY FROM ... WITH PREPAREDSTATEMENTS = False fails if the row contains null values. Reason is that the ','.join(r) in make_non_prepared_batch_statement doesn't seem to handle None, which results in this error message.
Failed to import 1 rows: TypeError - sequence item 2: expected string, NoneType found, given up without retries
Attached patch should fix the problem.
Attachments
Issue Links
- is related to
-
CASSANDRA-11549 cqlsh: COPY FROM ignores NULL values in conversion
- Resolved
- relates to
-
CASSANDRA-11675 multiple dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest
- Resolved