friendlymatthew commented on code in PR #7141:
URL: https://github.com/apache/arrow-rs/pull/7141#discussion_r1959015805


##########
arrow-cast/src/cast/mod.rs:
##########
@@ -5217,6 +5228,374 @@ mod tests {
         }};
     }
 
+    #[test]
+    fn test_cast_date32_to_timestamp_with_timezone() {
+        let tz = "+0545"; // UTC + 0545 is Asia/Kathmandu
+        let a = Date32Array::from(vec![Some(18628), Some(18993), None]); // 
2021-1-1, 2022-1-1

Review Comment:
   > I'm just curious about which particular timezone we should use. Should we 
depend on a time zone configuration or use the UTC directly?
   
   Other test cases use random time zones like the `+0545` mentioned above. I'd 
argue that for the sake of testing, we'd want to use a non-default time zone.



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