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


##########
parquet/src/record/api.rs:
##########
@@ -701,7 +701,7 @@ impl Field {
     /// `Timestamp` value.
     #[inline]
     pub fn convert_int96(_descr: &ColumnDescPtr, value: Int96) -> Self {
-        Field::TimestampMillis(value.to_i64())
+        Field::TimestampMillis(value.to_millis())

Review Comment:
   > I think this should be to_nanos() to preserve the old behavior
   
   The old behavior is actually to convert it to millis.
   
   Current behavior for `convert_i96` has it call `to_i64` which converts to 
millis, so I tried to keep the behavior the same.



-- 
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