mbutrovich commented on code in PR #7250:
URL: https://github.com/apache/arrow-rs/pull/7250#discussion_r1990033912


##########
parquet/src/arrow/array_reader/primitive_array.rs:
##########
@@ -160,10 +159,7 @@ where
             }
             PhysicalType::FLOAT => ArrowType::Float32,
             PhysicalType::DOUBLE => ArrowType::Float64,
-            PhysicalType::INT96 => match target_type {
-                ArrowType::Timestamp(TimeUnit::Nanosecond, _) => 
target_type.clone(),
-                _ => unreachable!("INT96 must be timestamp nanosecond"),
-            },
+            PhysicalType::INT96 => ArrowType::FixedSizeBinary(12),

Review Comment:
   Thanks @alamb! I came to a similar conclusion about adding an arg for 
`IntoBuffer` and should have a PR up shortly. I did not realize it wouldn't be 
considered an API breakage. Thanks again for looking at this!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to