waitingkuo opened a new issue, #5905:
URL: https://github.com/apache/arrow-datafusion/issues/5905

   ### Is your feature request related to a problem or challenge?
   
   per discussion in 
https://github.com/apache/arrow-rs/issues/1936#issuecomment-1309690020
   casting now consider timezone
   
   i'd like a new function `with_timezone` that could simply change the 
timezone in datatype without changing any underline value
   
   
   ### Describe the solution you'd like
   
   implement a new function `with_timezone(Timestamp, 'Some-TimeZone')`
   
   e.g.
   `with_timezone(timestamp '2000-01-01T00:00:00', '+08:00')` becomes 
`2000-01-01T08:00:00+08:00`
   `with_timezone(with_timezone(timestamp '2000-01-01T00:00:00', '+08:00'), 
'+07:00')` becomes `2000-01-01T07:00:00+07:00`
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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