Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 13108 invoked from network); 22 May 2010 11:52:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 May 2010 11:52:05 -0000 Received: (qmail 78738 invoked by uid 500); 22 May 2010 11:52:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 78374 invoked by uid 500); 22 May 2010 11:52:02 -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 78358 invoked by uid 99); 22 May 2010 11:52:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 May 2010 11:52:01 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 May 2010 11:51:56 +0000 Received: by wyf19 with SMTP id 19so1072917wyf.31 for ; Sat, 22 May 2010 04:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=MWYu63DZh64VTilGaeGfiF33GY3nVSTqOGzMMbQoR7U=; b=TaU/BdOjU6ucr9KGSOdXMB/E39tCCu+SoEEQvTbQwDAccrXlmatpecYwGP6s0FeNDl jRzPwXnuTeeF0O3DM+W4w87psdDmjrCl/PzsjxPonKtmBpDtNJ/Gujcu5Kz4gPotNa4E u3BcaN0T0IsD7Y10jIDixf6Wg1MpHxT1tVmbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=mpXBEiW6NRSISm7s/u+yiyTk7Z85JPnNM18Ganfoauq1dANGPU/SQC/OrtwJrPCmbC lWmK5wQo9zzjsQRZlM2OyVor6ldenDNHqR+zo9f8EsPNa+J+smvuO1NXVTLeKKpFCbKS MtieVgkxDOQ2/hTtDX/WLOuGtifEzGI9CcJjk= Received: by 10.216.185.209 with SMTP id u59mr1623259wem.112.1274529095138; Sat, 22 May 2010 04:51:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.17.197 with HTTP; Sat, 22 May 2010 04:51:15 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Sat, 22 May 2010 04:51:15 -0700 Message-ID: Subject: Re: super column To: user@cassandra.apache.org Cc: dev@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable (a) No (b) you should restrict it to < 2GB of data in 0.6 On Sat, May 22, 2010 at 3:55 AM, huajun qi wrote: > Can the value of a column under a super column be a super column? > > For examples: > > sc=3D{ > =A0 =A0 =A0 =A0name:"name", > =A0 =A0 =A0 =A0value:{ > =A0 =A0 =A0 =A0 =A0 =A0{name:"First Name", value:"John"} > =A0 =A0 =A0 =A0 =A0 =A0{name:"Last Name", value:"LBJ"} > =A0 =A0 =A0 } > } > > this is a super column above, can I add a super column below to it's valu= e? > > info=3D{name:"info", > =A0 =A0 =A0 value:{ > =A0 =A0 "age":"20", > =A0 =A0"gender":"M" > } > } > > Can I add the super column to the top one to make this: > > sc=3D{ > =A0 =A0 =A0 =A0name:"name", > =A0 =A0 =A0 =A0value:{ > =A0 =A0 =A0 =A0 =A0 =A0{name:"First Name", value:"John"} > =A0 =A0 =A0 =A0 =A0 =A0{name:"Last Name", value:"LBJ"} > =A0 =A0 =A0 =A0 =A0 =A0{name:"info",value:{name:"info", > =A0 =A0 =A0 value:{ > =A0 =A0 "age":"20", > =A0 =A0"gender":"M" > } > }} > =A0 =A0 =A0 } > } > > > And I have another question: should I restrict the number of columns in a > row? > > -- > Location: > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com