You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/07/19 11:51:34 UTC
[jira] [Created] (CASSANDRA-4450) CQL3: Allow preparing the
consistency level, timestamp and ttl
Sylvain Lebresne created CASSANDRA-4450:
-------------------------------------------
Summary: CQL3: Allow preparing the consistency level, timestamp and ttl
Key: CASSANDRA-4450
URL: https://issues.apache.org/jira/browse/CASSANDRA-4450
Project: Cassandra
Issue Type: Improvement
Reporter: Sylvain Lebresne
Priority: Minor
It could be useful to allow the preparation of the consitency level, the timestamp and the ttl. I.e. to allow:
{noformat}
UPDATE foo SET .. USING CONSISTENCY ? AND TIMESTAMP ? AND TTL ?
{noformat}
A slight concern is that when preparing a statement we return the names of the prepared variables, but none of timestamp, ttl and consistency are reserved names currently, so returning those as names could conflict with a column name. We can either:
* make these reserved identifier (I have to add that I'm not a fan because at least for "timestamp", I think that's a potentially useful and common column name).
* use some specific special character to indicate those are not column names, like returning "[timestamp]", "[ttl]", "[consistency]".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira