Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A95D6C85 for ; Fri, 8 Jul 2011 08:20:23 +0000 (UTC) Received: (qmail 80775 invoked by uid 500); 8 Jul 2011 08:19:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80404 invoked by uid 500); 8 Jul 2011 08:18:58 -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 80353 invoked by uid 99); 8 Jul 2011 08:18:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 08:18:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sylvain@datastax.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, 08 Jul 2011 08:18:51 +0000 Received: by yxp4 with SMTP id 4so859017yxp.31 for ; Fri, 08 Jul 2011 01:18:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.190.164 with SMTP id e24mr2122168yhn.270.1310113110639; Fri, 08 Jul 2011 01:18:30 -0700 (PDT) Received: by 10.236.108.177 with HTTP; Fri, 8 Jul 2011 01:18:30 -0700 (PDT) X-Originating-IP: [88.183.33.171] In-Reply-To: <4E16B04E.1010605@dude.podzone.net> References: <4E16B04E.1010605@dude.podzone.net> Date: Fri, 8 Jul 2011 10:18:30 +0200 Message-ID: Subject: Re: Command Request: rename a column From: Sylvain Lebresne To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Jul 8, 2011 at 9:22 AM, AJ wrote: > > I think it would be really cool to be able to rename a column, or, more > generally, a move command to move data from one column to another in the > same CF without the client having to read and resend the column value.=A0= This > would be extremely powerful, imo.=A0 I suspect the execution would be qui= ck > and could even be made atomic (per node) as I suspect it would mostly ent= ail > only reference updates. Cassandra don't work like that. We would have no other choice than to read = the column and write it back with a different name (and it would not be atomic)= . So the only win we would get from doing this server side would lie in not transferring the value across the network. -- Sylvain