cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-4960) CQL syntax should allow setting a TTL without setting timestamp
Date Wed, 14 Nov 2012 04:56:11 GMT
Edward Capriolo created CASSANDRA-4960:
------------------------------------------

             Summary: CQL syntax should allow setting a TTL without setting timestamp
                 Key: CASSANDRA-4960
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4960
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Edward Capriolo
            Priority: Minor


You can not set a TTL without a timestamp
{quote}
        INSERT INTO [<keyspace>.]<tablename>
                    ( <colname1>, <colname2> [, <colname3> [, ...]] )
               VALUES ( <colval1>, <colval2> [, <colval3> [, ...]] )
               [USING TIMESTAMP <timestamp>]
                 [AND TTL <timeToLive]];
{quote}
CQL will create timestamps for you on standard columns, it seems like you should not be forced
to supply one with a TTL.


--
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

Mime
View raw message