In CQL3, names are case insensitive by default, while they were case
sensitive in CQL2. You can force whatever case you want in CQL3
however using double quotes. So in other words, in CQL3,
  USE "TestKeyspace";
should work as expected.

--
Sylvain

On Sun, Sep 23, 2012 at 9:22 PM, Oleksandr Petrov
<oleksandr.pet...@gmail.com> wrote:
> Hi,
>
> I'm currently using Cassandra 1.1.5.
>
> When I'm trying to create a Keyspace from CQL 2 with a command (`cqlsh -2`):
>
>   CREATE KEYSPACE TestKeyspace WITH strategy_class = 'SimpleStrategy' AND
> strategy_options:replication_factor = 1
>
> Then try to access it from CQL 3 (`cqlsh -3`):
>
>   USE TestKeyspace;
>
> I get an error: Bad Request: Keyspace 'testkeyspace' does not exist
>
> Same thing is applicable to Thrift Interface. Somehow, I can only access
> keyspaces created from CQL 2 via Thrift Interface.
>
> Basically, I get same exact error: InvalidRequestException(why:There is no
> ring for the keyspace: CascadingCassandraCql3)
>
> Am I missing some switch? Or maybe it is intended to work that way?...
> Thanks!
>
> --
> alex p

Reply via email to