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 3DBC4F491 for ; Thu, 25 Apr 2013 19:04:13 +0000 (UTC) Received: (qmail 90166 invoked by uid 500); 25 Apr 2013 19:04:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90142 invoked by uid 500); 25 Apr 2013 19:04:10 -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 90134 invoked by uid 99); 25 Apr 2013 19:04:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 19:04:10 +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 (nike.apache.org: domain of sorinm@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-we0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 19:04:04 +0000 Received: by mail-we0-f180.google.com with SMTP id x43so2858378wey.39 for ; Thu, 25 Apr 2013 12:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vqcOu4FimOZngRAzbwMH2A+rbk5ugfw3oR1hiq6si4I=; b=nHKggcpd6vDhXtwfdghkd20D1VtjHk4BKAda+SvBJNsrLeALXzBzuMvK8Ju1yI2FPe rUGWNfzBVBCp1WwJkJ4A6mR68KHHVViw1e4lQenlWWjpuQ4BF+GtsqIBdOzul909Lbj6 eFDXKJkPh/YGRG+O9GIMgWqJAehiBp7j2I7fztMr0dR2gz2+fImszYwRcvFm5hp75Dpu dLCsbRDtyjSSuKVOSRG5ueT4SmVczaGYx+3MYC3lbT/MMfgUWG7T7UZTLBnwuw8hsgCF Mfa3yNbngM8T3+9TtTRbG+X9bSbZwty882xROvZSkU2W6JwJmpibO8XCZJO3uHkNLfhP fcaA== X-Received: by 10.194.171.74 with SMTP id as10mr77506228wjc.0.1366916623750; Thu, 25 Apr 2013 12:03:43 -0700 (PDT) Received: from ?IPv6:2a01:e35:8b73:8dd0:762f:68ff:fee5:8d8? ([2a01:e35:8b73:8dd0:762f:68ff:fee5:8d8]) by mx.google.com with ESMTPSA id dj7sm10696205wib.6.2013.04.25.12.03.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Apr 2013 12:03:42 -0700 (PDT) Message-ID: <51797E0B.6060803@gmail.com> Date: Thu, 25 Apr 2013 21:03:39 +0200 From: Sorin Manolache User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130112 Icedove/17.0.2 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Deletes, null values References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 2013-04-25 11:48, Alain RODRIGUEZ wrote: > Hi, I tried to delete some columns using cql2 as well as thrift on > C*1.2.2 and instead of being unreachable, deleted columns have a null value. > > I am using no value in this CF, the only information I use is the > existence of the column. So when I select all the column for a given key > I have the following returned: > > 1228#16857 | 1228#16866 | 1228#16875 | 1237#16544 | 1237#16553 > -------------------+------------------+------------------+-------------------+------------------ > null | null | null | > | > > > This is quite annoying since my app thinks that I have 5 columns there > when I should have 2 only. > > I first thought that this was a visible marker of tombstones but they > didn't vanish after a major compaction. > > How can I get rid of these null/ghost columns and why does it happen ? I do something similar but I don't see null values. Could you please post the code where you delete the columns? Sorin