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 BDAD4847E for ; Wed, 7 Sep 2011 09:35:25 +0000 (UTC) Received: (qmail 28241 invoked by uid 500); 7 Sep 2011 09:35:22 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 27756 invoked by uid 500); 7 Sep 2011 09:35:04 -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 27740 invoked by uid 99); 7 Sep 2011 09:35:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 09:35:02 +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 eevans@acunu.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 09:34:55 +0000 Received: by pzk34 with SMTP id 34so10407650pzk.21 for ; Wed, 07 Sep 2011 02:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acunu.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qq/vc0ZXAaEjNbRqsVFkbgCLbvT+NFqYdUISQQVVmHc=; b=MTop57AOkkpBPdqPqDbuD4S9KtBO9zHFqoLCcD/oEWc3+rYj2g21nxTtMsZe+PysJP GcN68lUeUrrpcK0Ep6FYvjp6RDF3Pi9M6Sfp5Qa+Z/kgaLr3YJhWcznACGEPDSCKScbV Lu/ojFg9GTEZ3bjFS5V19s72Uf+r4CaSofO7A= MIME-Version: 1.0 Received: by 10.68.1.233 with SMTP id 9mr11538801pbp.370.1315388074411; Wed, 07 Sep 2011 02:34:34 -0700 (PDT) Received: by 10.142.230.20 with HTTP; Wed, 7 Sep 2011 02:34:34 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Sep 2011 10:34:34 +0100 Message-ID: Subject: Re: CQL and schema-less column family From: Eric Evans To: user@cassandra.apache.org, osishkin@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Sep 6, 2011 at 12:22 PM, osishkin osishkin wro= te: > Sorry for the newbie question but I failed to find a clear answer. > Can CQL be used to query a schema-less column family? can they be indexed= ? > That is, query for column names that do not necessarily exist in all > rows, and were not defined in advance when the column family was > created. Absolutely, yes. If you don't create schema for columns, then their type will simply be the default for that column family. --=20 Eric Evans Acunu |=A0http://www.acunu.com=A0| @acunu