Ticket #107 (closed defect: fixed)
JDK collator results in decode errors for the SparseRowStore
| Reported by: | thompsonbry | Owned by: | thompsonbry |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Other | Version: | TERMS_REFACTOR_BRANCH |
| Keywords: | Cc: | fkoliver, mrpersonick, mroycsi |
Description
Fred:
There seems to be a bug in that KeyDecoder? objects cannot decode BTree keys where the key was built with the JDK collator. That is, the JDK CollationKey? contains bytes of zero, which the KeyDecoder? falsely assumes separates sections of the BTree key. What is the best way to fix this?
Bryan:
Can you add a unit test which demonstrates this failure. This can go in com.bigdata.btree.keys.TestKeyBuilder?. I can then take a look at what is going on with the JDK collation and see if there is something to be done.
Fred:
Done. Svn #3202. I assume that failures will start showing up in the CI tests.