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 B380E9C89 for ; Tue, 26 Jun 2012 08:38:32 +0000 (UTC) Received: (qmail 22628 invoked by uid 500); 26 Jun 2012 08:38:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22587 invoked by uid 500); 26 Jun 2012 08:38:29 -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 22545 invoked by uid 99); 26 Jun 2012 08:38:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 08:38:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of patrik.modesto@gmail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-ee0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 08:38:21 +0000 Received: by eekd4 with SMTP id d4so1662636eek.31 for ; Tue, 26 Jun 2012 01:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vwo8WoYoj+hOhXNu6HxZRwja65xkLdIka5OldWac6qg=; b=gPIhkg1J7+J739eUKJkb7gzhJhYh+ggKCSAnNcYT0M9eAkIDUuUJn01XuBVKh2HbdR sEs+Ad8sfdHu/y6BwS660PJgaCIjy0CYk6z6MKUVjo1HksKX2XRMoFZtJsjaiXq2aRZX t+tos7yis0yaiKv5myEvn+to21E7DVh+/l2lpAJrXN4E2GDl8a6YhF5vzcehwMvryUlR VKK2FsZh/HGVi0Cw7cL/bSGU9nzj/iXeQJFJ+hSJPXwM3/cmEFvDknHE5APGQsSr6Z77 tWOV66cHDiReoUX6jYyG0Pz/DUSMcJ60oUDpa70jVwdVLUMhYUAU1c8ii6V5WE9r/tUe +MZQ== Received: by 10.14.94.204 with SMTP id n52mr2938812eef.200.1340699881242; Tue, 26 Jun 2012 01:38:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.221.132 with HTTP; Tue, 26 Jun 2012 01:37:30 -0700 (PDT) In-Reply-To: References: From: Patrik Modesto Date: Tue, 26 Jun 2012 10:37:30 +0200 Message-ID: Subject: Re: Removing a counter columns using Thrift interface To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 On Mon, Jun 25, 2012 at 9:28 AM, Sylvain Lebresne wrote: > On Mon, Jun 25, 2012 at 9:06 AM, Patrik Modesto > wrote: >> I'm used to use Mutation for everything, so the first thing I tried >> was Deletion on Counter column. Well, nothing happened. No error and >> the Counter column was still there. > > That shouldn't happen. > >> The second try was the remove_counter() method. When I set just the >> column_family of ColumnPath, nothing happened. No error and the >> Counter column was still there. I supposed it would work like the >> remove() method which would remove whole row. > > It should. If if it doesn't that would be a bug. If you can reproduce > such a bug, then please do open a ticket. I've tried again today and found one bug in my test program. Now Deletion works as expected. The remove_counter() works as well, I misinterpreted the results. Regards, P.