xudong963 commented on code in PR #7141:
URL: https://github.com/apache/arrow-rs/pull/7141#discussion_r1958872921
##########
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:
The test is okay for me. Thanks!
I'm just curious about which particular timezone we should use. Should we
depend on a time zone configuration or use the `UTC` directly?
--
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]