alamb commented on issue #5827: URL: https://github.com/apache/arrow-rs/issues/5827#issuecomment-2228791771
An update here is that we think we have a workaround for our usecase that we have added to DataFusion (a `to_local_time` function): https://github.com/apache/datafusion/pull/11401 I am not sure there is consensus that this change of behavior is desired (though it is not clear to me that there is consensus it would not be desired) > Edit: It is perhaps worth noting that in the case of a timestamp on the daylight savings boundary, taking the local timestamp instead of UTC as we do currently loses information, and casting back to that timezone will yield an ambiguous timestamp error. I am not sure if this matters. This worries me as it sounds like it means it would be impossible to make timestamps roundtripping in all cases It isn't clear to me that "never error but doesn't round trip" to "round trips but sometimes errors" is an improvement in functionality -- 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]
