Edward Capriolo created CASSANDRA-4961:
------------------------------------------
Summary: 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
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