You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Philo Yang <ud...@gmail.com> on 2014/07/04 13:29:29 UTC

Is "timestamp" a reserved word in CQL?

Hi all,

I find in the doc,
http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/keywords_r.html
, keyword "timestamp" is not reserved. However, when I create a table with
a column named timestamp, it is changed to "timestamp" which is in double
quotation marks automatically.

Is "timestamp" a reserved word in CQL? I'm using Cassandra 2.0.6.

Thanks,
Philo Yang

Re: Is "timestamp" a reserved word in CQL?

Posted by DuyHai Doan <do...@gmail.com>.
It's not reserved but can have a specific meaning in some context.


On Fri, Jul 4, 2014 at 1:29 PM, Philo Yang <ud...@gmail.com> wrote:

> Hi all,
>
> I find in the doc,
> http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/keywords_r.html
> , keyword "timestamp" is not reserved. However, when I create a table with
> a column named timestamp, it is changed to "timestamp" which is in double
> quotation marks automatically.
>
> Is "timestamp" a reserved word in CQL? I'm using Cassandra 2.0.6.
>
> Thanks,
> Philo Yang
>
>