RE: Mapping a continuous range to a discrete value

2016-04-09 Thread Peer, Oded
0 | 100 | 0 | 100 | 199 Oded From: Henry M [mailto:henrymanm...@gmail.com] Sent: Friday, April 08, 2016 6:38 AM To: user@cassandra.apache.org Subject: Re: Mapping a continuous range to a discrete value I had to do something similar (in my case it was an IN query)... I en

Re: Mapping a continuous range to a discrete value

2016-04-07 Thread Henry M
I had to do something similar (in my case it was an IN query)... I ended up writing hack in java to create a custom Expression and injecting into the RowFilter of a dummy secondary index (not advisable and very short term but it keeps my application code clean). I am keeping my eyes open for the e

Re: Mapping a continuous range to a discrete value

2016-04-07 Thread Mitch Gitman
I just happened to run into a similar situation myself and I can see it's through a bad schema design (and query design) on my part. What I wanted to do was narrow down by the range on one clustering column and then by another range on the next clustering column. Failing to adequately think through