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: edge case in filling ALP encoded child on patches #939

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

lwwmanning
Copy link
Member

Realized that there's an unhandled edge case in #924, commented here

Essentially, on develop, if we have two chunks and the first chunk is all patches and the second chunk has 0 patches, then the patched values won't get filled in the encoded array. Not the end of the world (they're presumably full of integer approximations that don't round-trip), but if it's a case of outlier large values that are getting patched, then the encoded values will end up bitpacking poorly.

This PR fixes that.

@lwwmanning lwwmanning enabled auto-merge (squash) September 26, 2024 14:47
@lwwmanning lwwmanning merged commit d6951c8 into develop Sep 26, 2024
4 checks passed
@lwwmanning lwwmanning deleted the wm/alp-bug branch September 26, 2024 15:04
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.

2 participants