-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In version 0.9.36, RoaringBitmap fixed compatibility issues with CRoaring #1192
Conversation
Thanks a lot @wzqiang1332! I was thinking to fix this one in weekend :p Would you mind to add some integtation tests to prove the change works? If you have extra time, maybe we can port the code and drop the dependency. |
In version 0.9.36, RoaringBitmap fixed compatibility issues with CRoaring。 这里的version 0.9.36 是指代什么的version?clickhouse集群的还是clickhouse-jdbc的? |
|
I Got it https://github.com/RoaringBitmap/RoaringBitmap |
@wzqiang1332 @zhicwu 我用了0.9.36版本的Roaring64NavigableMap,但是这个问题还是没有解决。当bitmap里面的数少于32个的时候没问题,大于32个保存到ck后,依旧出错。我的代码如下 ` Roaring64NavigableMap map = new Roaring64NavigableMap();
// statement.addBatch(); |
Can you show us your test code , I still meet this bug. I used the version 0.9.36 . |
I think before 0.41 fix this. You could manually reverse the highToBitmap using code like the following.
|
RoaringBitmap/RoaringBitmap@0bebf92
When set Roaring64NavigableMap. SERIALIZATION_MODE = Roaring64NavigableMap. SERIALIZATION_MODE_PORTABLE, Java's Roaring64NavigableMap is consistent with CRoaring's binary format.