Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A7051851F for ; Wed, 6 Jan 2016 16:00:42 +0000 (UTC) Received: (qmail 12126 invoked by uid 500); 6 Jan 2016 16:00:42 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 12090 invoked by uid 500); 6 Jan 2016 16:00:42 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 12067 invoked by uid 99); 6 Jan 2016 16:00:42 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2016 16:00:42 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 255482C1F62 for ; Wed, 6 Jan 2016 16:00:42 +0000 (UTC) Date: Wed, 6 Jan 2016 16:00:42 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10839) cqlsh failed to format value bytearray MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)