cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Witschey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10839) cqlsh failed to format value bytearray
Date Mon, 21 Dec 2015 20:07:46 GMT

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

Jim Witschey commented on CASSANDRA-10839:
------------------------------------------

[~Stefania] Could you have a look at this? As far as I can tell, Python 2.7+ isn't a documented
dependency for {{cqlsh}} on 2.1, but there seems to be an incompatibility that I can't find
documented there. In fact, {{cqlsh}}'s {{python}} executable-discovery code prefers 2.6:

https://github.com/apache/cassandra/blob/cassandra-2.1/bin/cqlsh#L25

> cqlsh failed to format value bytearray
> --------------------------------------
>
>                 Key: CASSANDRA-10839
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10839
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Severin Leonhardt
>            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)

Mime
View raw message