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 7F5D710606 for ; Thu, 26 Feb 2015 07:07:50 +0000 (UTC) Received: (qmail 81747 invoked by uid 500); 26 Feb 2015 07:07:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81707 invoked by uid 500); 26 Feb 2015 07:07:46 -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 81696 invoked by uid 99); 26 Feb 2015 07:07:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 07:07:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of setya.parth@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-la0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 07:07:20 +0000 Received: by lamq1 with SMTP id q1so9051969lam.5 for ; Wed, 25 Feb 2015 23:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yFDFFUdtxLqFmyVYPdNK4Kg0I9cFoorMiYbl0NZAJPQ=; b=wa0gCJB2MT3tWQct8BMt2u47QzTRGupfqAxORmiOgsW10e0H5DNBdjrVcdKLqElF6e raAfQgyNj65eAHhjLZr0/M7QfO6vNqptVvGSXU9lvQ5Dpc8xK58Sewlz5WEqxOYyO8NQ HkwPEeNEVXoOMkDpargM1gzndGTGgEn4SXSQiL1WwNBsEl+gV1Qg41h1Uy7EA8xmCg+o wRWGIZ16rS4JQVbYEJ0MZsQKYxFm+NID6/vpRLULmIiQTv+RM3AnrCBUKnshKRdwSoec YxRPoEiSyUYiGaA2qH2QMoNuR2BAzfg0GrUtr3a1hAWrryjTHbiHSGnfBH3GJ+ReWKe+ ZGDQ== MIME-Version: 1.0 X-Received: by 10.112.29.211 with SMTP id m19mr3263416lbh.100.1424934438986; Wed, 25 Feb 2015 23:07:18 -0800 (PST) Received: by 10.25.78.72 with HTTP; Wed, 25 Feb 2015 23:07:18 -0800 (PST) Date: Thu, 26 Feb 2015 12:37:18 +0530 Message-ID: Subject: TTL From: Parth Setya To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1133fc36106a2c050ff867d0 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133fc36106a2c050ff867d0 Content-Type: text/plain; charset=UTF-8 Hi I am adding a new expiring column to an existing column family in cassandra. I want this new column to be expired at the same time as all the other expiring columns in the Column Family. One way of doing this is to get the ttl of existing expiring Columns in that CF and set that value in my new column. But i want to avoid querying the database. Is there any other way achieving the same without querying the row? API: HECTOR Version: Cassandra 2.0.3 --001a1133fc36106a2c050ff867d0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi

I am adding = a new expiring column to an existing column family in cassandra. I want thi= s new column to be expired at the same time as all the other expiring colum= ns in the Column Family.
One way of doing this is to get the ttl o= f existing expiring Columns in that CF and set that value in my new column.= But i want to avoid querying the database.
Is there any other way= achieving the same without querying the row?


API: H= ECTOR
Version: Cassandra 2.0.3
--001a1133fc36106a2c050ff867d0--