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-34633: [C++][Parquet] Fix StreamReader to read decimals (apa…
…che#34720) ### Rationale for this change StreamReader only supports reading decimals from int32 and int64. User cannot read decimals from FIXED_LENGTH_BYTE_ARRAY or BYTE_ARRAY. ### What changes are included in this PR? Support StreamReader to read decimals via arrow::Decimal128 type. ### Are these changes tested? Added two test cases to read them. ### Are there any user-facing changes? Yes, now user can directly use arrow::Decimal128 to read from parquet file. * Closes: apache#34633 Authored-by: Gang Wu <[email protected]> Signed-off-by: Weston Pace <[email protected]>
- Loading branch information
Showing
3 changed files
with
82 additions
and
3 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