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

Stefania commented on CASSANDRA-10839:
--------------------------------------

Thanks for the clarification, this is a recent regression and should therefore 
be committed to 2.1. As stated above, for 2.2 onwards we don't need this 
workaround since we do not support python 2.6. So please commit [this 
patch|https://github.com/stef1927/cassandra/commits/10839-2.1] to 2.1 and merge 
upwards using the ours merge strategy.

> cqlsh failed to format value bytearray
> --------------------------------------
>
>                 Key: CASSANDRA-10839
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10839
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Severin Leonhardt
>            Assignee: Stefania
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> Execute the following in cqlsh (5.0.1):
> {noformat}
> > create table test(column blob, primary key(column));
> > insert into test (column) VALUES(0x00);
> > select * from test;
>  column
> --------------------
>  bytearray(b'\x00')
> (1 rows)
> Failed to format value bytearray(b'\x00') : b2a_hex() argument 1 must be 
> string or read-only buffer, not bytearray
> {noformat}



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

Reply via email to