cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11631) cqlsh COPY FROM fails for null values with non-prepared statements
Date Fri, 22 Apr 2016 09:31:12 GMT

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

Stefania updated CASSANDRA-11631:
---------------------------------
    Assignee: Robert Stupp  (was: Stefania)

> cqlsh COPY FROM fails for null values with non-prepared statements
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-11631
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11631
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 3.x
>
>
> 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.
> {code}
> Failed to import 1 rows: TypeError - sequence item 2: expected string, NoneType found,
 given up without retries
> {code}
> Attached patch should fix the problem.



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

Mime
View raw message