[ 
https://issues.apache.org/jira/browse/CASSANDRA-15990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175895#comment-17175895
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15990:
-------------------------------------------------

Thanks [~dcapwell].

I just went through the CI results.

In summary:
 * trunk:  
 ** dtest.cql_tracing_test.TestCqlTracing.test_tracing_default_impl fails - 
unrelated; ticket created - CASSANDRA-16045
 ** dtest.cql_tracing_test.TestCqlTracing.test_tracing_default_impl - I would 
check this with the previous one as they seem related to me; added a comment to 
CASSANDRA-16045
 ** dtest.cql_tracing_test.TestCqlTracing.test_tracing_simple - the report 
actually says this is fixed
 * 3.11 - 
dtest.materialized_views_test.TestMaterializedViews.test_view_metadata_cleanup 
- not related
 * 3.0 - no failures
 * 2.2 - there are cqlsh tests failing; the reports say it is regression but 
according the latest Jenkins reports this is not the case. The tests fail 
consistently because of config issue (_Invalid yaml. Please remove properties 
[enable_scripted_user_defined_functions] from your cassandra.yaml_) - 
CASSANDRA-15985

> Running CQL command with non-ASCII values raises UnicodeDecodeError
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-15990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15990
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: Joseph Chu
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> There are INSERT statements that contains non-ASCII values that have run fine 
> in Cassandra 3.11, but now raises a UnicodeDecodeError when I try executing 
> them in 4.0-alpha4 and 4.0-beta1. 
> Example input and output:
> {code:java}
> echo $LANG
> en_US.UTF-8
> $ cqlsh --debug
> Using CQL driver: <module 'cassandra' from 
> '/usr/share/cassandra/bin/../lib/cassandra-driver-internal-only-3.23.0.post0-1a184b99.zip/cassandra-driver-3.23.0.post0-1a184b99/cassandra/__init__.py'>
> Using connect timeout: 5 seconds
> Using 'utf-8' encoding
> Using ssl: False
> Connected to Cassandra Cluster at 127.0.0.1:9042.
> [cqlsh 5.0.1 | Cassandra 4.0-beta1 | CQL spec 3.4.5 | Native protocol v4]
> Use HELP for help.
> cqlsh> CREATE KEYSPACE killr_video WITH replication = {'class': 
> 'NetworkTopologyStrategy', 'DC-Houston': 1};
> cqlsh> USE killr_video;
> cqlsh:killr_video> CREATE TABLE movies_by_genre ( genre TEXT, title TEXT, 
> year INT, duration INT, avg_rating FLOAT, country TEXT, PRIMARY KEY ((genre), 
> title, year));
> cqlsh:killr_video> INSERT INTO movies_by_genre (genre, title, year, duration, 
> avg_rating, country)
>  ... VALUES ('Action', 'The Extraordinary Adventures of Adèle Blanc-Sec', 
> 2010, 107, 6.30, 'France');
> Traceback (most recent call last):
>  File "/usr/share/cassandra/bin/cqlsh.py", line 937, in onecmd
>  self.handle_statement(st, statementtext)
>  File "/usr/share/cassandra/bin/cqlsh.py", line 962, in handle_statement
>  readline.add_history(new_hist)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 
> 134: ordinal not in range(128){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to