Closed ernestobv closed 10 years ago
Hi Ernesto, I've managed to reproduce the bug, it seems datastax driver always treat keyspaces and column family names as lowercase. In Deep we actually handle column families escaping, but still do not escape keyspace name. I have to look a little bit further into this. For the time being you can manually escape the keyspace name (but not the CF name).
Example:
String keyspaceName = "\"Keyspace1\""; String tableName = "Standard1";
By the way I'll try to fix this issue asap.
Thanks, Luca
Hi Luca,
Thanks, it works.
Regards, Ernesto.
Hello,
We have a keyspace with the name Keyspace1 and a table with the name Standard1, and I get exceptions when run some test over Stratio.
The following code (from thw class com.stratio.examples.JavaExample.) is the way we create a IDeepJobConfig
I have try to initialize the keyspaceName and tableName varaibles in two ways. The first one is this:
When it is run, the exception thrown is:
And the second way is using double quotes:
The exception thrown is:
It seems that the problem comes from DataStax Java Driver, but I don't known if there is a way to use the DataStax Java Driver from Stratio-Deep code to avoid these errors.
On the other hand, are there any restrictions or problems when using uppercase and lowercase in Cassandra with Stratio?
Thanks, Ernesto.