Re: Possible Bug in 0.8.2 with DynamicComposite range scans?

2011-08-11 Thread Todd Nine
uldn't you need to do this? > >> > >> reversed = user reversed ^ composite reversed > >> > >> This is the table I came up with for range scanning. True is forward, > >> false is reverse > >> > >> UserComponentScan direction > >> fals

Re: Possible Bug in 0.8.2 with DynamicComposite range scans?

2011-08-10 Thread Todd Nine
Correction to my truth table. True is reversed, false is forward. I just caught that typo. UserComponentScan direction false false false false true true truefalse true truetrue false -- todd CHIEF SOFTWARE ENGINEER todd nine

Re: Possible Bug in 0.8.2 with DynamicComposite range scans?

2011-08-10 Thread Todd Nine
se is reverse UserComponentScan direction false false false false true true true false true true true false Thanks, -- todd CHIEF SOFTWARE ENGINEER todd nine| spidertrack

Re: Possible Bug in 0.8.2 with DynamicComposite range scans?

2011-08-10 Thread Todd Nine
; Returned 2 results. > > Now, the last query is not exactly the one you do, since it does a full row > query but the CLI don't support setting the start and end of a slice. However, > I have tried hard-coding the exact query into the CLI (with > start='UTF8Type@jeans'

Possible Bug in 0.8.2 with DynamicComposite range scans?

2011-08-10 Thread Todd Nine
Hi guys,   I've been dealing with a problem in my JPA plugin for a couple days now.  I've been able to create a native test in 0.8.2 that reproduces the issue.  Here is the test. https://gist.github.com/3ce70eab8102d2555626 Essentially, here is what is happening. A dynamic composite with the f

Possible Bug in 0.8.2 with DynamicComposites?

2011-08-10 Thread Todd Nine
Hi guys, I've been dealing with a problem in my JPA plugin for a couple days now. I've been able to create a native test in 0.8.2 that reproduces the issue. Here is the test. https://gist.github.com/3ce70eab8102d2555626 Essentially, here is what is happening. A dynamic composite with the fol

Help with debugging DynamicCompositeType (Sylvain)

2011-08-09 Thread Todd Nine
Hi guys, I'm working on the final updates to hector-jpa for 0.8.2, and I've run into a bit of an issue. Now that forward and reverse comparators are natively supported, order by clauses on the indexes are natively sorted in Cassandra. I'm having some issues with my tests, here is my scenario.

Help with debugging DynamicCompositeType (Sylvain)

2011-08-09 Thread Todd Nine
Hi guys, I'm working on the final updates to hector-jpa for 0.8.2, and I've run into a bit of an issue. Now that forward and reverse comparators are natively supported, order by clauses on the indexes are natively sorted in Cassandra. I'm having some issues with my tests, here is my scenario.

Questions regarding the future of CQL

2011-07-28 Thread Todd Nine
Hi guys, I'm in the process of scheduling some time to re-work the query logic in my Hector JPA plugin. A lot of the documentation around CQL on the site seems to indicate that this is the future path of the client interfaces for Cassandra. I have a couple of questions. 1. Will CQL ultimately

Re: Status of LT LTE without EQ op for 0.7 release

2010-10-13 Thread Todd Nine
well (at least on version 0.6). However after looking at the limitations page. http://wiki.apache.org/cassandra/CassandraLimitations It appears that the "row must fit in memory" has been removed. I'll move back to this scheme for my querying. todd SENIOR SOFTWARE ENGINEER tod

Re: Status of LT LTE without EQ op for 0.7 release

2010-10-12 Thread Todd Nine
sion of my plugin? Thanks, Todd On Wed, 2010-10-13 at 14:00 +1300, Todd Nine wrote: > Fair enough! > > > Thanks Jonathan. > > > todd > SENIOR SOFTWARE ENGINEER > > todd nine| spidertracks ltd | 117a the square > po box 5203 | palmerston north

Re: Status of LT LTE without EQ op for 0.7 release

2010-10-12 Thread Todd Nine
Fair enough! Thanks Jonathan. todd SENIOR SOFTWARE ENGINEER todd nine| spidertracks ltd | 117a the square po box 5203 | palmerston north 4441 | new zealand P: +64 6 353 3395 | M: +64 210 255 8576 E: t...@spidertracks.co.nz W: www.spidertracks.com On Tue, 2010-10-12 at 18:47

Status of LT LTE without EQ op for 0.7 release

2010-10-12 Thread Todd Nine
Hey guys, I've been digging through JIRA and all related issued for secondary indexing for use within my Datanucleus Plugin. https://issues.apache.org/jira/browse/CASSANDRA-749 Currently there is only indexing for LT and LTE expression when an EQ operator is present. Will it be possible to us

Secondary indexing status

2010-10-08 Thread Todd Nine
Hi all, I did a bit of digging around in JIRA today, and I have a few questions. I'm about to update my Datanucleus Cassandra plugin. http://github.com/tnine/Datanucleus-Cassandra-Plugin I've built my own secondary indexing scheme, which is essentially a simplified port of the Lucandra format

Embedded integration testing causing strage issues

2010-08-12 Thread Todd Nine
Hi all, We've downloaded and used Ran's embedded Cassandra helper from the Hector client. It works really well for performing basic integration testing. We have a more advanced test that uses TCP sockets and threading. We send about 400 pieces of data via TCP. This results in ~1200 writes and

Batch mutation dropping String bytes

2010-06-28 Thread Todd Nine
Hi all, I thought the dev list would be more appropriate for this discussion. I'm having issues inserting Numeric Range keys in Lucandra and I've determined the issue (I think). Numeric keys are encoded with a trie data structure. The bits of the underlying values are packed 7 bits at a time in

Input on Lucandra NumericRange indexing

2010-06-24 Thread Todd Nine
Hi all, I'm working on testing Lucandra with Numeric Range indexing. Unfortunately it fails with the current implementation. I've created a fork here with the tests. http://github.com/tnine/Lucandra Can someone give me a bit of guidance on how best to correct the issue without breaking the ex

Thoughts on best practices to begin maven releases

2010-06-19 Thread Todd Nine
Hi all, I spent some time on IRC and have volunteered to maintain the maven releases for Cassandra. Our company uses maven heavily, and I found getting up and running with Cassandra/Pelops etc was more time consuming as a user than I feel it should be. I personally feel that if Cassandra is pub

Re: Make release versions of JavaDocs available?

2010-06-16 Thread Todd Nine
Hi Jeremy, I'm not a Cassandra Dev, but I am building a Datanucleus plugin for it >From a consumer perspective, I would really appreciate a couple of things. Javadoc. As you said, I don't need to know every minute detail on the internal workings of Cassandra. However having a basic understandi

Re: Secondary indexing and 0.6/0.7 integration with Datanucleus

2010-06-15 Thread Todd Nine
wrote: > No chance that 749 can be backported to 0.6, sorry. > > On Tue, Jun 15, 2010 at 10:35 PM, Todd Nine wrote: > > > Lets try that again. > > > > This is the intended issue. > > > > https://issues.apache.org/jira/browse/CASSANDRA-749 > &g

Re: Secondary indexing and 0.6/0.7 integration with Datanucleus

2010-06-15 Thread Todd Nine
Lets try that again. This is the intended issue. https://issues.apache.org/jira/browse/CASSANDRA-749 thanks, Todd On Tue, 2010-06-15 at 20:02 -0500, Jonathan Ellis wrote: > What issue were you trying to link? :) > > On Tue, Jun 15, 2010 at 6:56 PM, Todd Nine wrote: > > H

Secondary indexing and 0.6/0.7 integration with Datanucleus

2010-06-15 Thread Todd Nine
Hi all, I'm implementing a Datanucleus plugin for Cassandra. I'm finished with the basic functionality, and everything seems to work pretty well. Now my issue is performing secondary indexing on fields within my data. I have outlined some of the issues I'm facing in this post. http://www.datanu