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 EF8EB64F8 for ; Fri, 8 Jul 2011 09:59:26 +0000 (UTC) Received: (qmail 27856 invoked by uid 500); 8 Jul 2011 09:59:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 27783 invoked by uid 500); 8 Jul 2011 09:59:05 -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 27518 invoked by uid 99); 8 Jul 2011 09:58:59 -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 09:58:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [204.13.248.66] (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 09:58:51 +0000 Received: from 67-6-235-220.hlrn.qwest.net ([67.6.235.220] helo=[192.168.0.2]) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1Qf7pO-000Fmi-O4 for user@cassandra.apache.org; Fri, 08 Jul 2011 09:58:30 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 67.6.235.220 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+TsZ5wMxqpTJPNW7B9Z2nWjsjxoaEyj1E= Message-ID: <4E16D4BC.5090501@dude.podzone.net> Date: Fri, 08 Jul 2011 03:58:20 -0600 From: AJ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Command Request: rename a column References: <4E16B04E.1010605@dude.podzone.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 7/8/2011 2:18 AM, Sylvain Lebresne wrote: > 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. This >> would be extremely powerful, imo. I suspect the execution would be quick >> and could even be made atomic (per node) as I suspect it would mostly entail >> 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 I figured as much :) Not that bad though. > (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. > That would be the main benefit I think, esp with large values. > -- > Sylvain >