Omega359 commented on code in PR #19078:
URL: https://github.com/apache/datafusion/pull/19078#discussion_r2589529466
##########
datafusion/functions/src/datetime/to_timestamp.rs:
##########
@@ -923,7 +1536,11 @@ mod tests {
}
fn parse_timestamp_formatted(s: &str, format: &str) -> Result<i64,
DataFusionError> {
- let result = string_to_timestamp_nanos_formatted(s, format);
+ let result = string_to_timestamp_nanos_formatted_with_timezone(
+ &Some("UTC".parse()?),
Review Comment:
I tried using chrono_tz's Tz but that doesn't handle offsets (-5:00).
Sticking with arrow's Tz for now.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]