restrictions on IN operator

2016-09-06 Thread Samba
Hi, I understand, from the documentation, that IN operator is permitted only on the last column in partition and/or on the last column in the clustering key. I can understand that IN on partition key column being indeterministic but i wonder why is IN permitted only on one (last) clustering colum

Re: CASSANDRA-12278

2016-09-06 Thread Romain Hardouin
Hi,  You can force the Java version used by Cassandra here:  https://github.com/apache/cassandra/blob/cassandra-3.0/bin/cassandra.in.bat#L29  Best, Romain Le Samedi 3 septembre 2016 11h11, Andy Cobley a écrit : Thanks Michael and Paulo, Upon further investigation, this is NOT a cassand

OOM with one query.

2016-09-06 Thread Eduardo Alonso
Hi to all: I think i have found a bug, serious one. I have found a INSERT query that does not validate the params and accept an String as a valid value for a List. This produce an out of memory exception due to java heap in the server. I have coded a very simple maven project in java to ilustrat

Re: OOM with one query.

2016-09-06 Thread Eduardo Alonso
Sorry, i missed to attach the project Eduardo Alonso Vía de las dos Castillas, 33, Ática 4, 3ª Planta 28224 Pozuelo de Alarcón, Madrid Tel: +34 91 828 6473 // www.stratio.com // *@stratiobd * 2016-09-06 15:15 GMT+02:00 Eduardo Alonso : > Hi to all: > > I think i ha

Re: restrictions on IN operator

2016-09-06 Thread Benjamin Lerer
Since 2.2, IN restrictions are supported on any partition key or clustering colum in SELECT statement. For UPDATE and DELETE statement they are supported since 3.0. Benjamin On Tue, Sep 6, 2016 at 11:19 AM, Samba wrote: > Hi, > > I understand, from the documentation, that IN operator is permitt

Re: OOM with one query.

2016-09-06 Thread Benjamin Lerer
Thanks for reporting the problem. Could you open a JIRA ticket. I will look into it. Benjamin On Tue, Sep 6, 2016 at 4:08 PM, Eduardo Alonso wrote: > Sorry, i missed to attach the project > > Eduardo Alonso > Vía de las dos Castillas, 33, Ática 4, 3ª Planta > 28224 Pozuelo de Alarcón, Madrid >

Re: cassandra unit test

2016-09-06 Thread Benjamin Lerer
Unit tests run only a single server instance. I you want to use multiple servers in your test you should write a DTest ( https://github.com/riptano/cassandra-dtest). Hope it helps. Benjamin On Tue, Sep 6, 2016 at 4:59 AM, Stone Fang wrote: > Call QueryProcessor.execute method to insert data i