[
https://issues.apache.org/jira/browse/CASSANDRA-4961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Capriolo resolved CASSANDRA-4961.
----------------------------------------
Resolution: Won't Fix
My mistake. It works fine.
> 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