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 BA84C9E22 for ; Mon, 11 Jun 2012 07:14:58 +0000 (UTC) Received: (qmail 19076 invoked by uid 500); 11 Jun 2012 07:14:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 18936 invoked by uid 500); 11 Jun 2012 07:14:55 -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 18909 invoked by uid 99); 11 Jun 2012 07:14:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 07:14:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sylvain@datastax.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 07:14:47 +0000 Received: by obbeh20 with SMTP id eh20so8942560obb.31 for ; Mon, 11 Jun 2012 00:14:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=5zdeJQLZvwpWKt+9W7KeBiLmYfwcZnegWWEqHSBI+no=; b=VhgqaJGiOyNDGmcNlQsDPC5wKUVNJM25yog2e8OBwjDbUn8DTv45rEUbs1WP9lMSa6 Vpp4TOmZzkILlEGNPIg0UK9fK4aTmx3KFkmdkEkvmf+2DlC6p3UrpnSJwH5MLtXpixaA 8ZxExgKTK9LF0GlOHVDESs0lh3MQCi4v7fttwp+Jsll5huIQwllRCfOoINihgKXg0o7d Mbhk+mwxBTfU62QjCZVwWtEJvlhrqm/gzTPkcnadiPtwXfQMB6ezYNr2M4aPLRuHVEEd n8/5IK+eNIDE9UdPAx8UaSJmKCJjW4Izam9B2hj9RvPsBMyCG8Nq5adOhPWvfxX65Mfv rTNw== MIME-Version: 1.0 Received: by 10.60.25.100 with SMTP id b4mr15154026oeg.64.1339398865963; Mon, 11 Jun 2012 00:14:25 -0700 (PDT) Received: by 10.182.89.36 with HTTP; Mon, 11 Jun 2012 00:14:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Jun 2012 09:14:25 +0200 Message-ID: Subject: Re: Composite columns: CLI or CQL? From: Sylvain Lebresne To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkm72I49UUhIyMo5cemnRhCNzfkg7DT9cDXKS/zqSn2DCk7TN2rQXGWHHZEeAOu82XnoQ+Z More details would help, like at least the query you're using to do the insertion and that fails, as well as the exact error message. -- Sylvain On Mon, Jun 11, 2012 at 2:42 AM, Georg K=F6ster w= rote: > Dear all, > > I'm really excited about Cassandra's peer-to-peer architecture and sorted > values. > > Currently I'm blocked in trials: I cannot insert longs into 'val' in: > > create columnfamily entries ( > > =A0 =A0 id varchar, > > =A0 =A0 va varchar, > > =A0 =A0 ts bigint, > > =A0 =A0=A0val bigint, > > =A0 =A0 PRIMARY KEY (id, va, ts) > > ); > > I get validation errors (String didn't validate). I can insert strings as > much as I like. With int it seems to work, too. > > Did I make a mistake? The error is somewhat spurious, very seldomly it go= es > through, but I cannot really reproduce that situation. Another question i= s > of course if I can switch validation off for the time it's still buggy? > > Since I don't get to trials: How fast is inserting a new column into the > middle of a 100,000 columns row anyways? > > Cheers, > Georg