cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Composite Slice Query returning non-sliced data
Date Thu, 05 Jul 2012 23:24:05 GMT
> #2 has the Composite Column and #1 does not.
They are both strings. 

All column names *must* be of the same type. What was your CF definition ?

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 6/07/2012, at 7:26 AM, Sunit Randhawa wrote:

> Hello,
> 
> I have 2 Columns for a 'RowKey' as below:
> 
> #1 : set CF['RowKey']['1000']='A=1,B=2';
> #2: set CF['RowKey']['1000:C1']='A=2,B=3'';
> 
> #2 has the Composite Column and #1 does not.
> 
> Now when I execute the Composite Slice query by 1000 and C1, I do get
> both the columns above.
> 
> I am hoping get #2 only since I am specifically providing "C1" as
> Start and Finish Composite Range with
> Composite.ComponentEquality.EQUAL.
> 
> 
> I am not sure if this is by design.
> 
> Thanks,
> Sunit.


Mime
View raw message