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

fix: out of bounds error in bitpacking #2692

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

albertlockett
Copy link
Contributor

resolves lancedb/lancedb#1490

There was a bug in the calculation that moved the offset of uncompressed buffer forward. This occurred when the number of bits was byte aligned but did not divide evenly into the number of uncompressed bits.

@github-actions github-actions bot added the bug Something isn't working label Aug 6, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.49%. Comparing base (57e9e3e) to head (21817cf).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2692      +/-   ##
==========================================
- Coverage   79.49%   79.49%   -0.01%     
==========================================
  Files         227      227              
  Lines       66927    66918       -9     
  Branches    66927    66918       -9     
==========================================
- Hits        53206    53195      -11     
  Misses      10608    10608              
- Partials     3113     3115       +2     
Flag Coverage Δ
unittests 79.49% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@albertlockett albertlockett merged commit 3d95cd6 into main Aug 6, 2024
25 checks passed
@albertlockett albertlockett deleted the lancedb-1490/albertlockett branch August 6, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(python): bitpacking index is out of bounds
3 participants