Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03862D560 for ; Wed, 14 Nov 2012 05:18:13 +0000 (UTC) Received: (qmail 88087 invoked by uid 500); 14 Nov 2012 05:18:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 88043 invoked by uid 500); 14 Nov 2012 05:18:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 87836 invoked by uid 99); 14 Nov 2012 05:18:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 05:18:13 +0000 Date: Wed, 14 Nov 2012 05:18:13 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: <744136374.112434.1352870293274.JavaMail.jiratomcat@arcas> In-Reply-To: <1342671036.112393.1352869213314.JavaMail.jiratomcat@arcas> Subject: [jira] [Assigned] (CASSANDRA-4961) CQL3 accepts TTL on collection types but does nothing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams reassigned CASSANDRA-4961: ------------------------------------------- Assignee: (was: Sylvain Lebresne) > CQL3 accepts TTL on collection types but does nothing > ----------------------------------------------------- > > Key: CASSANDRA-4961 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4961 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.2.0 beta 2 > Reporter: Edward Capriolo > > It seems like CQL will accept a TTL on a collection column but do nothing with it. Am I using the syntax wrong? > {quote} > cqlsh:movies> INSERT INTO VIDEOS (videoid, videoname, tagasset) values ('99051fe9-6a9c-46c2-b949-38ef78858dd0','My funny cat',{'piano'}) USING TIMESTAMP 11 AND TTL 1; > cqlsh:movies> select * from videos; > videoid | videoname | description | tagasset | tags | upload_date | username > --------------------------------------+--------------+-------------------------------------------+----------+----------------+--------------------------+---------- > 99051fe9-6a9c-46c2-b949-38ef78858dd0 | My funny cat | My cat likes to play the piano! So funny. | {piano} | cats,piano,lol | 2012-06-01 08:00:00+0000 | ctodd > cqlsh:movies> select * from videos; > videoid | videoname | description | tagasset | tags | upload_date | username > --------------------------------------+--------------+-------------------------------------------+----------+----------------+--------------------------+---------- > 99051fe9-6a9c-46c2-b949-38ef78858dd0 | My funny cat | My cat likes to play the piano! So funny. | {piano} | cats,piano,lol | 2012-06-01 08:00:00+0000 | ctodd > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira