Re: Weird error: InvalidQueryException: unconfigured table table2

2017-03-24 Thread Vladimir Yudovin
>Wish the error message a little more helpful. Actually "unconfigured" means "not existed", "not created". Best regards, Vladimir Yudovin, Winguzone - Cloud Cassandra Hosting On Fri, 24 Mar 2017 21:39:45 -0400 S G wrote Ah, the keyspace for t

Re: Weird error: InvalidQueryException: unconfigured table table2

2017-03-24 Thread S G
Ah, the keyspace for table2 was somehow getting hardcoded to a wrong keyspace. Wish the error message a little more helpful. On Fri, Mar 24, 2017 at 2:48 PM, S G wrote: > Hi, > > I have a keyspace with two tables. > > I run a different query for each table: > > Table 1: > Select * from table

Weird error: InvalidQueryException: unconfigured table table2

2017-03-24 Thread S G
Hi, I have a keyspace with two tables. I run a different query for each table: Table 1: Select * from table1 where id = ? Table 2: Select * from table2 where id1 = ? and id = ? My code using datastax fires above two queries one after the other. While it never fails for table 1, it never s

Re: Altering of types is not allowed

2017-03-24 Thread Vladimir Yudovin
As error message said "Altering of types is not allowed" is not allowed in Cassandra. It's NO Sql, but still not schemaless database. Best regards, Vladimir Yudovin, Winguzone - Cloud Cassandra Hosting On Wed, 22 Mar 2017 18:57:18 -0400 Ryan Flynn wrote

Re: Using datastax driver, how can I read a non-primitive column as a JSON string?

2017-03-24 Thread Vladimir Yudovin
Hi, why not used SELECT JSON * FROM as described here https://www.datastax.com/dev/blog/whats-new-in-cassandra-2-2-json-support ? Best regards, Vladimir Yudovin, Winguzone - Cloud Cassandra Hosting On Thu, 23 Mar 2017 13:08:30 -0400 S G wrote