-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-31992: [C++][Parquet] Handling the special case when DataPageV2 va…
…lues buffer is empty (#45252) ### Rationale for this change In DataPageV2, the levels and data will not be compressed together. So, we might get the "empty" data page buffer. When meeting this, Snappy C++ will failed to decompress the `(input_len == 0, output_len == 0)` data. ### What changes are included in this PR? Handling the case in `column_reader.cc` ### Are these changes tested? * [x] Will add ### Are there any user-facing changes? Minor fix * GitHub Issue: #31992 Lead-authored-by: mwish <[email protected]> Co-authored-by: mwish <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Signed-off-by: mwish <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
8 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
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