Re: Missing non composite column

2012-10-22 Thread Vivek Mishra
Anybody in group got into such issues? -Vivek On Fri, Oct 19, 2012 at 3:28 PM, Vivek Mishra wrote: > Ok. I did assume the same, here is what i have tried to fetch composite > columns via thrift and CQL query as well! > > Not sure why thrift API is returning me column name as empty! (Tried with

Re: Missing non composite column

2012-10-19 Thread Vivek Mishra
Ok. I did assume the same, here is what i have tried to fetch composite columns via thrift and CQL query as well! Not sure why thrift API is returning me column name as empty! (Tried with Cassandra 1.1.5) Here is the program: /

Re: Missing non composite column

2012-10-18 Thread aaron morton
>> Yes, i understand that. Reason why i am asking is, with this i need to split >> them to get actual column name using ":" as a seperator. The ":" is a artefact of the cassandra-cli, nothing something you will have to deal with via the thrift API. Internally we do not store the values with ":" s

Re: Missing non composite column

2012-10-17 Thread Sylvain Lebresne
> Yes, i understand that. Reason why i am asking is, with this i need to split > them to get actual column name using ":" as a seperator. > Though i did not try it yet, but wondering if column name is like > "alliance:movement", then how do it compute it? You've lost me, sorry. -- Sylvain > > >

Re: Missing non composite column

2012-10-17 Thread Vivek Mishra
Yes, i understand that. Reason why i am asking is, with this i need to split them to get actual column name using ":" as a seperator. Though i did not try it yet, but wondering if column name is like "alliance:movement", then how do it compute it? On Wed, Oct 17, 2012 at 1:04 PM, Sylvain Lebresne

Re: Missing non composite column

2012-10-17 Thread Sylvain Lebresne
On Wed, Oct 17, 2012 at 3:17 AM, Vivek Mishra wrote: > column name will be "2012-07-24:2:alliance_involvement" or > "alliance_involvement"? The former. Though let's clarify that "2012-07-24:2:alliance_involvement" is the string representation of a composite name (i.e. one compatible with Composit

Re: Missing non composite column

2012-10-16 Thread Vivek Mishra
column name will be "2012-07-24:2:alliance_involvement" or "alliance_involvement"? -Vivek On Tue, Oct 16, 2012 at 10:25 PM, Sylvain Lebresne wrote: > On Tue, Oct 16, 2012 at 12:31 PM, Vivek Mishra > wrote: > > Thanks Sylvain. I missed it. If i try to access these via thrift API, > what > > will

Re: Missing non composite column

2012-10-16 Thread Sylvain Lebresne
On Tue, Oct 16, 2012 at 12:31 PM, Vivek Mishra wrote: > Thanks Sylvain. I missed it. If i try to access these via thrift API, what > will be the column names? I'm not sure I understand the question. The cli output is pretty much what you get via the thrift API. -- Sylvain

Re: Missing non composite column

2012-10-16 Thread Vivek Mishra
Thanks Sylvain. I missed it. If i try to access these via thrift API, what will be the column names? -Vivek If i try to access this row via thrift API, what would be the column names returned? On Tue, Oct 16, 2012 at 3:52 PM, Sylvain Lebresne wrote: > On Tue, Oct 16, 2012 at 11:57 AM, Vivek Mish

Re: Missing non composite column

2012-10-16 Thread Sylvain Lebresne
On Tue, Oct 16, 2012 at 11:57 AM, Vivek Mishra wrote: > --- > RowKey: Jayne Cobb > => (column=2012-07-24:2:alliance_involvement, value=false, > timestamp=135038100502) > => (column=2012-07-24:2:energy_used, value=4.6, timestamp=1350381005020001) > > > Not sure, why is it not ge