Skip to content
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

[Kernel] Fix RoaringBitmapArray create/add methods. Closes issue #3881 #3882

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

YotillaAntoni
Copy link

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Resolves #3881

  • The bitmaps array should be initialized in the create path.
  • The expandBitMaps method should set new bitmaps from the old length up to the new length, instead of overwriting the old ones.

Also adds a toArray method mimicking the one provided by the scala version which the class is based on.

How was this patch tested?

Added unit tests.

Does this PR introduce any user-facing changes?

No

 - The bitmaps array should be initialized in the `create` path.
 - The `expandBitMaps` method should set new bitmaps from the old length up to the new length, instead of overwriting the old ones.
 - Adds a `toArray` method mimicking the one provided by the scala version which the class is based on.

Signed-off-by: Antoni Reus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG][Kernel] RoaringBitmapArray create/add test methods are broken
1 participant