From user-return-4388-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Apr 15 08:02:44 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 33290 invoked from network); 15 Apr 2010 08:02:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Apr 2010 08:02:44 -0000 Received: (qmail 93560 invoked by uid 500); 15 Apr 2010 08:02:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93475 invoked by uid 500); 15 Apr 2010 08:02:43 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 93467 invoked by uid 99); 15 Apr 2010 08:02:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 08:02:42 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roland237@googlemail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 08:02:37 +0000 Received: by gwb1 with SMTP id 1so605931gwb.31 for ; Thu, 15 Apr 2010 01:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:received:message-id:subject:from:to :content-type; bh=xd6KloDamYDwngJsdieqYrdmrQvO6rDhc5SeEuKhIX4=; b=qOHwWMu9lHP4eZCtuUDYvqPL4qlDf1EQuu9MDv+luGNvS5qn+r2leq5vYKIjPi9U5H iJY+oTLQjve5NRUfA7SZc/H8lboQ8ZFtyIyJpyTJgfsp9HaSrfeiEqjMgLoZNQIFVDSH QIMpc4eBuLYClV9v0t6kJLO/1b7scE0BZZ1xQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=UlRFb7TWhsm/8HPHY2gMNZVIDmjgzhXH2Tx7gab4tjBtfs8C+EaXRpr7BbrW+JEOIa 567jR1HQuKGAbjGywAYZLeUaMvaqkv/TJqKmh9lQtkwZc0i77Sw7vltt1JkvmDzwRjiW QOLIz09VAXTPTsJeoBuprJSmIbIyMpY0CHKeQ= MIME-Version: 1.0 Sender: roland237@googlemail.com Received: by 10.100.95.14 with HTTP; Thu, 15 Apr 2010 01:02:09 -0700 (PDT) Date: Thu, 15 Apr 2010 10:02:09 +0200 X-Google-Sender-Auth: 0b33c84560878da5 Received: by 10.101.180.3 with SMTP id h3mr12243664anp.13.1271318530023; Thu, 15 Apr 2010 01:02:10 -0700 (PDT) Message-ID: Subject: Row key: string or binary (byte[])? From: =?ISO-8859-1?Q?Roland_H=E4nel?= To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001636c9255d612514048441e927 --001636c9255d612514048441e927 Content-Type: text/plain; charset=ISO-8859-1 Is there any effort ongoing to make the row key a binary (byte[]) instead of a string? In the current cassandra.thrift file (0.6.0), I find: const string VERSION = "2.1.0" [...] struct KeySlice { 1: required *string* key, 2: required list columns, } while on the current (?) SVN https://svn.apache.org/repos/asf/cassandra/trunk/interface/cassandra.thriftit reads: const string VERSION = "4.0.0" [...] struct KeySlice { 1: required *binary* key, 2: required list columns, } Thanks for enlightening me. :-) Greetings, Roland --001636c9255d612514048441e927 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there any effort ongoing to make the row key a binary (byte[]) instead o= f a string? In the current cassandra.thrift file (0.6.0), I find:

const s= tring VERSION =3D "2.1.0"
[...]
struct KeySlice {
=A0=A0=A0 1: required string key,
= =A0=A0=A0 2: required list<ColumnOrSuperColumn> columns,
}

while on the current (?) SVN https://svn.apache.org/repo= s/asf/cassandra/trunk/interface/cassandra.thrift it reads:

const string VERSION =3D "4.0.0"<= /span>
[...]
struct KeySlice {
=
1: required binary key,
2: required list<ColumnOrSuperColumn> columns,
}
Thanks=
 for enlightening me. :-)

Greetings,
Roland

--001636c9255d612514048441e927--