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-36939: [C++][Parquet] Direct put of BooleanArray is incorrec…
…t when called several times (apache#36972) ### Rationale for this change This is from a bug in PLAIN encoding with `BooleanArray` input. Boolean will introduce bad length when writing arrow data. This interface is not widely used. ### What changes are included in this PR? Rewrite PLAIN boolean encoder to use `TypedBufferBuilder` instead of an incorrect hand-baked implementation. ### Are these changes tested? Yes ### Are there any user-facing changes? No. * Closes: apache#36939 Lead-authored-by: mwish <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information
1 parent
af0abf7
commit c2a0cd9
Showing
2 changed files
with
90 additions
and
81 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