Re: Enable CQL3 from Astyanax

2012-07-16 Thread aaron morton
Can you provide an example where you add data, run a CQL statement in cqlsh that does not work and maybe list the data in the CLI. cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 16/07/2012, at 8:25 PM, Thierry Templier wrote: > Hello Aar

Re: Enable CQL3 from Astyanax

2012-07-16 Thread Thierry Templier
Hello Aaron, I try to simulate a composition relationship within a single column family / table (for example, an entity and its fields). I dynamically add columns the contained elements. Let's take an example. Here is my table definition with CQL 3: CREATE TABLE "Entity" ( "id" varchar,

Re: Enable CQL3 from Astyanax

2012-07-05 Thread aaron morton
Can you provide an example ? select * should return all the columns from the CF. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 5/07/2012, at 4:31 AM, Thierry Templier wrote: > Thanks Aaron. > > I wonder if it's possible to obtain colu

Re: Enable CQL3 from Astyanax

2012-07-04 Thread Thierry Templier
Thanks Aaron. I wonder if it's possible to obtain columns from a CQL 3 select query (with a select *) that aren't defined in the create table. These fields are present when all attributes are loaded but not when using CQL3. Is it the normal behavior? Thanks very much! Thierry Thanks for co

Re: Enable CQL3 from Astyanax

2012-07-02 Thread aaron morton
Thanks for contributing. I'm behind the curve on CQL 3, but here is a post about some of the changes http://www.datastax.com/dev/blog/whats-new-in-cql-3-0 Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 28/06/2012, at 2:30 AM, Thierry Te

Re: Enable CQL3 from Astyanax

2012-06-27 Thread Thierry Templier
Hello Aaron, I created an issue on the Astyanax github for this problem. I added a fix to support CQL3 in the tool. See the link https://github.com/Netflix/astyanax/issues/75. Thierry Had a quick look, the current master does not appear to support it. Cheers

Re: Enable CQL3 from Astyanax

2012-06-27 Thread Thierry Templier
Hello Aaron, Thanks very much for your answer! Could you give me some hints on how implement that? So I could contribute a patch for that. After having a look at the Astyanax code, I saw that CQL is executed in the ThriftColumnFamilyQueryImpl class based on the org.apache.cassandra.thrift.C

Re: Enable CQL3 from Astyanax

2012-06-27 Thread aaron morton
Had a quick look, the current master does not appear to support it. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 26/06/2012, at 7:46 AM, Thierry Templier wrote: > Hello, > > How can I enable CQL3 support in Astyanax? Thanks very much f

Enable CQL3 from Astyanax

2012-06-25 Thread Thierry Templier
Hello, How can I enable CQL3 support in Astyanax? Thanks very much for your help! Thierry