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 72ED578E2 for ; Thu, 17 Nov 2011 17:29:08 +0000 (UTC) Received: (qmail 21528 invoked by uid 500); 17 Nov 2011 17:29:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 21466 invoked by uid 500); 17 Nov 2011 17:29:06 -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 21458 invoked by uid 99); 17 Nov 2011 17:29:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 17:29:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2011 17:29:00 +0000 Received: by eyg24 with SMTP id 24so2689054eyg.31 for ; Thu, 17 Nov 2011 09:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=OLD+cff4MLuSXcHF9MBQ/c/sXS6zXaYwQEzLpQnR/fQ=; b=O2LN1dtb3Ueqnxeb99lpI/f05leIzJBTFlvL3PprRUo7dvf8H5WnXh8QcOEXn96Vw4 +je/AXcciCBf/rTjISRN7pMN2nqsx+qfCSs0HUozWVCeT09+2tZ7siGKKmfkPfQJlFby L1Z5oQjXeIb269JQh+kvr52SIP+JBsblyoLxE= Received: by 10.14.14.210 with SMTP id d58mr2745173eed.22.1321550920484; Thu, 17 Nov 2011 09:28:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.108.136 with HTTP; Thu, 17 Nov 2011 09:28:19 -0800 (PST) In-Reply-To: <4EC54276.6010509@bnl.gov> References: <4EC54276.6010509@bnl.gov> From: Jonathan Ellis Date: Thu, 17 Nov 2011 11:28:19 -0600 Message-ID: Subject: Re: A Cassandra CLI question: null vs 0 rows To: user@cassandra.apache.org, potekhin@bnl.gov Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org If CLI returns null it means there was an error -- run with --debug to check the exception. On Thu, Nov 17, 2011 at 11:20 AM, Maxim Potekhin wrote: > Hello everyone, > > I run a query on a secondary index. For some queries, I get 0 rows returned. > In other cases, > I just get a string that reads "null". > > What's going on? > > TIA > > Maxim > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com