Skip to content

Commit

Permalink
fix: Parquet Decimal type reading
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Jul 30, 2024
1 parent 82b6388 commit a7dc15f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/polars-parquet/src/arrow/read/deserialize/nested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub fn columns_to_iter_recursive(
PhysicalType::FixedLenByteArray(size) => {
let (mut nested, array) = PageNestedDecoder::new(
columns.pop().unwrap(),
field.data_type().clone(),
ArrowDataType::FixedSizeBinary(size),
fixed_size_binary::BinaryDecoder { size },
init,
)?
Expand Down Expand Up @@ -320,7 +320,7 @@ pub fn columns_to_iter_recursive(
PhysicalType::FixedLenByteArray(size) if size <= 16 => {
let (mut nested, array) = PageNestedDecoder::new(
columns.pop().unwrap(),
field.data_type().clone(),
ArrowDataType::FixedSizeBinary(size),
fixed_size_binary::BinaryDecoder { size },
init,
)?
Expand Down Expand Up @@ -349,7 +349,7 @@ pub fn columns_to_iter_recursive(
PhysicalType::FixedLenByteArray(size) if size <= 32 => {
let (mut nested, array) = PageNestedDecoder::new(
columns.pop().unwrap(),
field.data_type().clone(),
ArrowDataType::FixedSizeBinary(size),
fixed_size_binary::BinaryDecoder { size },
init,
)?
Expand Down

0 comments on commit a7dc15f

Please sign in to comment.