Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 18280 invoked from network); 14 Apr 2010 03:02:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Apr 2010 03:02:31 -0000 Received: (qmail 21421 invoked by uid 500); 14 Apr 2010 03:02:31 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21353 invoked by uid 500); 14 Apr 2010 03:02:30 -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 21336 invoked by uid 99); 14 Apr 2010 03:02:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 03:02:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 03:02:27 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3E325QC003680 for ; Tue, 13 Apr 2010 23:02:06 -0400 (EDT) Message-ID: <9972233.89621271214125948.JavaMail.jira@thor> Date: Tue, 13 Apr 2010 23:02:05 -0400 (EDT) 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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stu Hood updated CASSANDRA-767: ------------------------------- Attachment: 0004-Extract-read-writeName.patch 0005-Convert-IPartitioner-disk-key-format-to-bytes.patch 0006-Bump-SSTable-version-to-c-remove-utf16-encoding-from.patch 0006 Now fully removes String support from Filter. Sorry for the mixup: luckily one of our platforms was encoding Strings differently to expose this. > 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, 0005-Convert-IPartitioner-disk-key-format-to-bytes.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. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira