[
https://issues.apache.org/jira/browse/CASSANDRA-10839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085727#comment-15085727
]
Stefania commented on CASSANDRA-10839:
--------------------------------------
Thanks for the review. Now the question is whether we actually commit this to
2.1 since it should be now for critical fixes only. cc [~iamaleksey]
For 2.2+ onwards we don't need this patch since we no longer support python 2.7.
> 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)