Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 64962 invoked from network); 18 Apr 2011 07:24:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2011 07:24:02 -0000 Received: (qmail 60555 invoked by uid 500); 18 Apr 2011 07:24:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 60456 invoked by uid 500); 18 Apr 2011 07:23:59 -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 60448 invoked by uid 99); 18 Apr 2011 07:23:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 07:23:59 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sdolgy@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 07:23:51 +0000 Received: by vws12 with SMTP id 12so4147289vws.31 for ; Mon, 18 Apr 2011 00:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=2BqTG0hT3dXXUVUdMj3leDpGXScJCikhndkz10tTRrc=; b=Igtlax+rq8PT8BuQOZkrpW1QWyBfj4XieAjvdUa7Z0YzW8qlqAs8ltGPf3OMWRZrVq gOhokqhMabzwPaq8hChCeXGo0gRzgqL9lkZ1pphXraXKXqkG4H4rk1/Nywgk7JZm0sRY +kUSTGg4++LLFqOdqt9D9JP/ikYaIhAjiKeTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=XW3zzitcZwXJoE36ffLO+CznyAy6ma0EuK2MUu+9uMtGtjnR5dPwoRbNfte2J2CTCr 7FzpX/DfEAnW4NyrVsP2I2B5ejOq5cbvl3H8+L2RTGhEdRbpyLwtNgkFqQRehqXrUPp+ weYcnxsP7vaB3c9V8dPePelELubqBYFG2XOk0= Received: by 10.52.180.8 with SMTP id dk8mr4227911vdc.73.1303111411143; Mon, 18 Apr 2011 00:23:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.164.3 with HTTP; Mon, 18 Apr 2011 00:23:11 -0700 (PDT) From: Sasha Dolgy Date: Mon, 18 Apr 2011 09:23:11 +0200 Message-ID: Subject: predefining columns To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, When defining a new column family, there is the possiblity to define columns. I see the benefit in defining the columns when I want to explicitly define that a secondary index will be created on that column. I also see the benefit of predefining the type of that column if it will differ from the default for the column family (byte versus utf8 for example). If none of these scenarios are needed, is there any benefit gained by pre-defining the columns in a CF when creating the column family initially? -sd -- Sasha Dolgy sasha.dolgy@gmail.com