-
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-43994: [C++][Parquet] Fix schema conversion from two-level encodin…
…g nested list (#43995) ### Rationale for this change The current C++ parquet implementation interprets following parquet schema as `array<struct<array:array<int>>>, which is wrong: ``` optional group a (LIST) { repeated group array (LIST) { repeated int32 array; } } ``` ### What changes are included in this PR? According to the parquet spec, the above schema should be inferred as `array<array<int>>`. ### Are these changes tested? Yes, a test case has been added to verify the fix. ### Are there any user-facing changes? No. * GitHub Issue: #43994 Authored-by: Gang Wu <[email protected]> Signed-off-by: Gang Wu <[email protected]>
- Loading branch information
Showing
4 changed files
with
253 additions
and
38 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
Submodule parquet-testing
updated
5 files
+ − | bad_data/ARROW-GH-43605.parquet | |
+1 −0 | bad_data/README.md | |
+2 −0 | data/README.md | |
+103 −0 | data/old_list_structure.md | |
+ − | data/old_list_structure.parquet |