Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 88009 invoked from network); 5 Apr 2010 19:52:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 19:52:48 -0000 Received: (qmail 52300 invoked by uid 500); 5 Apr 2010 19:52:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 52286 invoked by uid 500); 5 Apr 2010 19:52:48 -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 52271 invoked by uid 99); 5 Apr 2010 19:52:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 19:52:48 +0000 X-ASF-Spam-Status: No, hits=-1219.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 19:52:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52E57234C4B4 for ; Mon, 5 Apr 2010 19:52:27 +0000 (UTC) Message-ID: <297118253.695641270497147338.JavaMail.jira@brutus.apache.org> Date: Mon, 5 Apr 2010 19:52:27 +0000 (UTC) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-767) Row keys should be byte[]s, not Strings 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-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stu Hood updated CASSANDRA-767: ------------------------------- Attachment: (was: 0005-Convert-IPartitioner-disk-key-format-to-bytes.patch) > Row keys should be byte[]s, not Strings > --------------------------------------- > > Key: CASSANDRA-767 > URL: https://issues.apache.org/jira/browse/CASSANDRA-767 > Project: Cassandra > Issue Type: Improvement > Reporter: Stu Hood > Assignee: Stu Hood > Priority: Critical > Fix For: 0.7 > > Attachments: 0001-Implement-compaction-benchmark.patch, 0002-Implement-a-legacy-sstable-test.patch, 0003-Store-bytes-in-DecoratedKey-and-cleanup-dead-code.patch, 0004-Extract-read-writeName.patch, 0006-Bump-SSTable-version-to-c-remove-utf16-encoding-from.patch > > > This issue has come up numerous times, and we've dealt with a lot of pain because of it: let's get it knocked out. > Keys being Java Strings can make it painful to use Cassandra from other languages, encoding binary data like integers as Strings is very inefficient, and there is a disconnect between our column data types and the plain String treatment we give row keys. > The key design decision that needs discussion is: Should we apply the column AbstractTypes to row keys? If so, how do Partitioners change? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.