Updated Branches: refs/heads/trunk 48fbdb34a -> 7e70f4e93
Allow type in create declaration for CQL3 to be 'timestamp' Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/7e70f4e9 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/7e70f4e9 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/7e70f4e9 Branch: refs/heads/trunk Commit: 7e70f4e93744b31c1078db8a7e269e57696acc7e Parents: 48fbdb3 Author: Sylvain Lebresne <sylv...@datastax.com> Authored: Thu Jan 26 11:40:00 2012 +0100 Committer: Sylvain Lebresne <sylv...@datastax.com> Committed: Thu Jan 26 11:40:00 2012 +0100 ---------------------------------------------------------------------- src/java/org/apache/cassandra/cql3/Cql.g | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/7e70f4e9/src/java/org/apache/cassandra/cql3/Cql.g ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/cql3/Cql.g b/src/java/org/apache/cassandra/cql3/Cql.g index 13b2956..2ccfc5a 100644 --- a/src/java/org/apache/cassandra/cql3/Cql.g +++ b/src/java/org/apache/cassandra/cql3/Cql.g @@ -481,7 +481,7 @@ relation returns [Relation rel] ; comparatorType returns [String str] - : c=(IDENT | STRING_LITERAL) { $str = $c.text; } + : c=(IDENT | STRING_LITERAL | K_TIMESTAMP) { $str = $c.text; } ;