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] [Resolved] (CASSANDRA-4960) CQL syntax should allow setting a TTL without setting timestamp
Date Wed, 14 Nov 2012 05:34:11 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward Capriolo resolved CASSANDRA-4960.
----------------------------------------

    Resolution: Invalid

It does do this my mistake.
                
> 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