forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-38399: [Go][Parquet] DeltaBitPack decoder reset usedFirst af…
…ter SetData (apache#38413) ### Rationale for this change As apache#38399 says. DeltaBitPack will corrupt when we meet a column chunk with more than one page. During first page decoding, it works well. But when the second page comes, the `d.usedFirst` haven't been reset, which cause the bug. ### What changes are included in this PR? 1. Some style enhancement 2. Bug fix ### Are these changes tested? Currently not ### Are there any user-facing changes? bugfix * Closes: apache#38399 Authored-by: mwish <[email protected]> Signed-off-by: Matt Topol <[email protected]>
- Loading branch information
1 parent
189f24a
commit 33603e6
Showing
2 changed files
with
70 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters