Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 79583 invoked from network); 25 Feb 2011 15:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 15:27:07 -0000 Received: (qmail 73556 invoked by uid 500); 25 Feb 2011 15:27:04 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 73202 invoked by uid 500); 25 Feb 2011 15:26:59 -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 73184 invoked by uid 99); 25 Feb 2011 15:26:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 15:26:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 15:26:53 +0000 Received: by yxk30 with SMTP id 30so857112yxk.31 for ; Fri, 25 Feb 2011 07:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=AymztBZJzzThQSDBXCiAnMQ+N4tbFmEtu/fd3Qyl1bQ=; b=LP/hTWqceQjQ/SgqL8O0ZLtyzWZH+7M+t6ykzLzVpu96oBF+JV0SnI8FzwTiZf4GSd t+7bjlEW4J9Ebt5MqNsaT0deXcjPUTGeD1v0u3zg5YJJmS7uh2/TmruJxczuA9plYLx9 65IsJWwFSXWLL2gJ+ijET9bEogps5AiQT2qi0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=jrzhBHqiGTwXcSd2sgZlPycagl1buqPQs3T8qY5KyjNQN2Un5lnoXqYfJ/OjpUHkwh +w2SnU5M49oOCrQ+6yy2Jd8E7ftrsypm8rsr3JvU2FKosN+gz2BlAuSEcnMydBrtP3pb Ac/OMQuaBI1bAY5ZnghBc+AwPEqghuATURIow= Received: by 10.236.105.238 with SMTP id k74mr4382139yhg.91.1298647592200; Fri, 25 Feb 2011 07:26:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.105.237 with HTTP; Fri, 25 Feb 2011 07:26:12 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Fri, 25 Feb 2011 09:26:12 -0600 Message-ID: Subject: Re: Changing comparators To: user@cassandra.apache.org Cc: Narendra Sharma Content-Type: text/plain; charset=ISO-8859-1 Compaction assumes that the sstables it has as input are ordered correctly (otherwise it would have to read the full row into memory to re-sort). So it would have to be a new operation, and not feasible in general for larger-than-memory rows. I don't think we'll ever add this. On Wed, Feb 23, 2011 at 6:23 PM, Narendra Sharma wrote: > Today it is not possible to change the comparators (compare_with and > compare_subcolumns_with). I went through the discussion on thread > http://comments.gmane.org/gmane.comp.db.cassandra.user/12466. > > Does it make sense to atleast allow one way change i.e. from specific types > to generic type? For eg change from TimeUUIDType or UTF8 to BytesType. This > could be a manual process where users will do the schema change and then run > major compaction on all the nodes to fix the ordering. > > Thanks, > Naren > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com