Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9770 from Mytherin/parquetbigdecimal
Support reading large decimals into doubles in the Parquet reader
- Loading branch information
Showing
6 changed files
with
82 additions
and
13 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# name: test/sql/copy/parquet/bigdecimal.test | ||
# description: Read a file created by Google BigQuery with a BIGDECIMAL column (i.e. DECIMAL(77,38)) | ||
# group: [parquet] | ||
|
||
require parquet | ||
|
||
statement ok | ||
PRAGMA enable_verification | ||
|
||
query I | ||
FROM 'data/parquet-testing/bigdecimal.parquet' | ||
---- | ||
0.5 | ||
-0.5 | ||
1.2345678912345679e+26 | ||
-1.2345678912345679e+26 | ||
5.7896044618658096e+38 | ||
-5.7896044618658096e+38 |