tustvold commented on code in PR #1937:
URL: https://github.com/apache/arrow-rs/pull/1937#discussion_r906010499


##########
parquet/src/arrow/schema.rs:
##########
@@ -300,10 +300,15 @@ fn arrow_to_parquet_type(field: &Field) -> Result<Type> {
                 .with_repetition(repetition)
                 .build()
         }
-        DataType::Timestamp(time_unit, _) => {
+        DataType::Timestamp(time_unit, tz) => {
+            let is_utc = tz
+                .as_ref()
+                .map(|tz| tz == "UTC" || tz == "+00:00" || tz == "-00:00")

Review Comment:
   I think I would rather keep this small and simple, rather than cover all 
timezones that happen to be equivalent. Longer term this may be handled as part 
of #1938



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