File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -622,8 +622,10 @@ fn arrow_to_parquet_type(field: &Field, coerce_types: bool) -> Result<Type> {
622
622
. with_repetition ( repetition)
623
623
. with_id ( id)
624
624
. build ( ) ,
625
- DataType :: Decimal32 ( precision, scale) | DataType :: Decimal64 ( precision, scale) |
626
- DataType :: Decimal128 ( precision, scale) | DataType :: Decimal256 ( precision, scale) => {
625
+ DataType :: Decimal32 ( precision, scale)
626
+ | DataType :: Decimal64 ( precision, scale)
627
+ | DataType :: Decimal128 ( precision, scale)
628
+ | DataType :: Decimal256 ( precision, scale) => {
627
629
// Decimal precision determines the Parquet physical type to use.
628
630
// Following the: https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#decimal
629
631
let ( physical_type, length) = if * precision > 1 && * precision <= 9 {
You can’t perform that action at this time.
0 commit comments