You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Thierry Templier <th...@restlet.com> on 2012/06/20 13:45:21 UTC

No lowercase with CQL when using create table

Hello,

I'm using CQL 3 to create column families within a keyspace with 
Cassandra 1.1.1. Column families are
created but all names (column families and their column definitions) are 
in lowercase. Is it possible to prevent
from this behavior?

Thanks very much for your help.
Thierry

Re: No lowercase with CQL when using create table

Posted by Thierry Templier <th...@restlet.com>.
Thanks very much, Sylvain, for the hints.
Thierry
> Yes, you have to use double quotes in CQL3 to force the case of an 
> identifier (so CREATE TABLE "FooBar" rather than CREATE TABLE FooBar). 
> -- Sylvain 


Re: No lowercase with CQL when using create table

Posted by Sylvain Lebresne <sy...@datastax.com>.
On Wed, Jun 20, 2012 at 1:45 PM, Thierry Templier
<th...@restlet.com> wrote:
> Hello,
>
> I'm using CQL 3 to create column families within a keyspace with Cassandra
> 1.1.1. Column families are
> created but all names (column families and their column definitions) are in
> lowercase. Is it possible to prevent
> from this behavior?

Yes, you have to use double quotes in CQL3 to force the case of an
identifier (so CREATE TABLE "FooBar" rather than CREATE TABLE FooBar).

--
Sylvain