Skip to content

fix: edge case in filling ALP encoded child on patches#939

Merged
lwwmanning merged 1 commit into
developfrom
wm/alp-bug
Sep 26, 2024
Merged

fix: edge case in filling ALP encoded child on patches#939
lwwmanning merged 1 commit into
developfrom
wm/alp-bug

Conversation

@lwwmanning

Copy link
Copy Markdown
Contributor

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
@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