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 78212D4D5 for ; Sat, 22 Sep 2012 18:34:31 +0000 (UTC) Received: (qmail 16419 invoked by uid 500); 22 Sep 2012 18:34:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16359 invoked by uid 500); 22 Sep 2012 18:34:28 -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 16349 invoked by uid 99); 22 Sep 2012 18:34:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 18:34:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tyler@datastax.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vc0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 18:34:23 +0000 Received: by vcbfo14 with SMTP id fo14so5435724vcb.31 for ; Sat, 22 Sep 2012 11:34:02 -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:x-gm-message-state; bh=pBr7O1qjeKljRvWVa+QIsyg6JnRXAZ0YzDaduKTNnHk=; b=VLOSscYrGN97hxqSY73zkHuyFyhOSDrF1h/LxiLGDEm6nK/FNDMWpLcgobSSYdm9Ba KVXeaubTd5LaZw94+I/rlSIrF4wQEUBqWhqbxp2QzItwdmBPrXW/dG5tEdLv2cV4uLUy ym1EGv6oO9WoWwpeiyeJrJdVU0Mq7CUGLgB1G2vNKzBYf111nUVTfVpOPidWJyuvCxTE k/swkTvbzwpYVAB4Umr2Ntn0hMv1MuxV8VKX0Sjd3JwXGiMSQiJEDfumJhED7b9MiOCG ZqY87t6rEAd8ad0/C+srmUXaMK76q0pGnG2Y9PBNm57hCv3QQ1nHdpvLcdtQ6UPsim/D aRRA== MIME-Version: 1.0 Received: by 10.220.208.210 with SMTP id gd18mr3165215vcb.43.1348338842002; Sat, 22 Sep 2012 11:34:02 -0700 (PDT) Received: by 10.58.135.38 with HTTP; Sat, 22 Sep 2012 11:34:01 -0700 (PDT) In-Reply-To: References: Date: Sat, 22 Sep 2012 13:34:01 -0500 Message-ID: Subject: Re: batch_mutate and erlang From: Tyler Hobbs To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=bcaec54fafaeb6e62f04ca4e99d9 X-Gm-Message-State: ALoCoQnpH2S6L+E9xdaOdrE9NzM2KSiXU7Zel8qvdfAkpWL6ESzJ+S0g7GbBUoDQxDl+Gpvq3TsO --bcaec54fafaeb6e62f04ca4e99d9 Content-Type: text/plain; charset=ISO-8859-1 If there's not already a well-written client in place, you should strongly consider using cql3 instead. It will save you a ton of work. If you want to ignore that advice, you can look at the send() and insert() methods in phpcassa: https://github.com/thobbs/phpcassa/blob/master/lib/phpcassa/Batch/Mutator.php#L53 and in pycassa: https://github.com/pycassa/pycassa/blob/master/pycassa/batch.py#L113 On Sat, Sep 22, 2012 at 12:22 AM, Bradford Toney wrote: > I was using batch_mutate through the thrift interface and kept getting > supercolumn errors, I was wondering if there are any examples of > batch_mutate in erlang anywhere, or maybe something similar. -- Tyler Hobbs DataStax --bcaec54fafaeb6e62f04ca4e99d9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If there's not already a well-written client in place, you should stron= gly consider using cql3 instead.=A0 It will save you a ton of work.

= If you want to ignore that advice, you can look at the send() and insert() = methods in phpcassa: https://github.com/thobbs/phpcassa/= blob/master/lib/phpcassa/Batch/Mutator.php#L53

and in pycassa: https://github.com/pycassa/pycassa/blob/master/py= cassa/batch.py#L113

On Sat, Sep 22, 2= 012 at 12:22 AM, Bradford Toney <bradford.toney@gmail.com> wrote:
I was using batch_mutate through the thrift = interface and kept getting supercolumn errors, I was wondering if there are= any examples of batch_mutate in erlang anywhere, or maybe something simila= r.



--
Tyler Hobbs
DataStax
<= br> --bcaec54fafaeb6e62f04ca4e99d9--