From user-return-36332-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Sep 3 21:12:23 2013 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 916D010177 for ; Tue, 3 Sep 2013 21:12:23 +0000 (UTC) Received: (qmail 74894 invoked by uid 500); 3 Sep 2013 21:12:21 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74868 invoked by uid 500); 3 Sep 2013 21:12:21 -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 74860 invoked by uid 99); 3 Sep 2013 21:12:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:12:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of baskar.duraikannu@outlook.com designates 65.54.190.166 as permitted sender) Received: from [65.54.190.166] (HELO bay0-omc3-s28.bay0.hotmail.com) (65.54.190.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:12:12 +0000 Received: from BAY169-W92 ([65.54.190.188]) by bay0-omc3-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Sep 2013 14:11:50 -0700 X-TMN: [A1wXUPqEfEtQoKx3kkd79iZdeJIlV/T+] X-Originating-Email: [baskar.duraikannu@outlook.com] Message-ID: Content-Type: multipart/alternative; boundary="_1aaf65d1-a3fd-4790-b8f7-6edd999b702a_" From: Baskar Duraikannu To: "user@cassandra.apache.org" Subject: RE: Update-Replace Date: Tue, 3 Sep 2013 17:11:50 -0400 Importance: Normal In-Reply-To: <69D12657-04A3-472C-881F-C5F20D490EA1@nordsc.com> References: <69D12657-04A3-472C-881F-C5F20D490EA1@nordsc.com> MIME-Version: 1.0 X-OriginalArrivalTime: 03 Sep 2013 21:11:50.0655 (UTC) FILETIME=[3512A0F0:01CEA8EA] X-Virus-Checked: Checked by ClamAV on apache.org --_1aaf65d1-a3fd-4790-b8f7-6edd999b702a_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a similar use case but only need to update portion of the row. We ba= sically perform single write (with old and new columns) with very low value= of ttl for old columns.=20 > From: jan.algermissen@nordsc.com > Subject: Update-Replace > Date: Fri=2C 30 Aug 2013 17:35:48 +0200 > To: user@cassandra.apache.org >=20 > Hi=2C >=20 > I have a use case=2C where I periodically need to apply updates to a wide= row that should replace the whole row. >=20 > The straight-forward insert/update only replace values that are present i= n the executed statement=2C keeping remaining data around. >=20 > Is there a smooth way to do a replace with C* or do I have to handle this= by the application (e.g. doing delete and then write or coming up with a m= ore clever data model)? >=20 > Jan = --_1aaf65d1-a3fd-4790-b8f7-6edd999b702a_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a similar use case but on= ly need to update portion of the row. We basically perform single write (wi= th old and new columns) with very low value of ttl for old columns. =3B=

>=3B From: jan.algermissen@nordsc.com
>=3B Subject: Upd= ate-Replace
>=3B Date: Fri=2C 30 Aug 2013 17:35:48 +0200
>=3B To:= user@cassandra.apache.org
>=3B
>=3B Hi=2C
>=3B
>=3B = I have a use case=2C where I periodically need to apply updates to a wide r= ow that should replace the whole row.
>=3B
>=3B The straight-for= ward insert/update only replace values that are present in the executed sta= tement=2C keeping remaining data around.
>=3B
>=3B Is there a sm= ooth way to do a replace with C* or do I have to handle this by the applica= tion (e.g. doing delete and then write or coming up with a more clever data= model)?
>=3B
>=3B Jan
= --_1aaf65d1-a3fd-4790-b8f7-6edd999b702a_--