You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/05/04 20:54:00 UTC
[jira] [Comment Edited] (CASSANDRA-16539) cqlsh encoding error with
unicode in multi-line statement
[ https://issues.apache.org/jira/browse/CASSANDRA-16539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17339292#comment-17339292 ]
Ekaterina Dimitrova edited comment on CASSANDRA-16539 at 5/4/21, 8:53 PM:
--------------------------------------------------------------------------
Unfortunately, one of the tests failed in Jenkins on python 3. I will reopen the ticket to check them.
https://jenkins-cm4.apache.org/job/Cassandra-4.0/4/
was (Author: e.dimitrova):
Unfortunately, the tests failed in Jenkins on python 3. I will reopen the ticket to check them.
https://jenkins-cm4.apache.org/job/Cassandra-4.0/4/
> cqlsh encoding error with unicode in multi-line statement
> ---------------------------------------------------------
>
> Key: CASSANDRA-16539
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16539
> Project: Cassandra
> Issue Type: Bug
> Components: Tool/cqlsh
> Reporter: Adam Holmberg
> Assignee: Adam Holmberg
> Priority: Normal
> Fix For: 4.0-rc2, 4.0, 4.1
>
>
> {noformat}
> CREATE TABLE test.users (
> user_id int PRIMARY KEY,
> name text,
> state text
> )
> {noformat}
> Multiline cql with unicode characters will fail with an encoding error:
> {noformat}
> cqlsh> insert into test.users ( user_id, name, state ) values (
> ... 6,
> ... 'Bonne',
> ... 'Année');
> 'ascii' codec can't encode character u'\xe9' in position 74: ordinal not in range(128)
> {noformat}
> This is only when running Python 2.7 and when python3 is not present in the environment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org