We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with_timezone
per discussion in apache/arrow-rs#1936 (comment) 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
implement a new function with_timezone(Timestamp, 'Some-TimeZone')
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
with_timezone(timestamp '2000-01-01T00:00:00', '+08:00')
2000-01-01T08:00:00+08:00
with_timezone(with_timezone(timestamp '2000-01-01T00:00:00', '+08:00'), '+07:00')
2000-01-01T07:00:00+07:00
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is your feature request related to a problem or challenge?
per discussion in apache/arrow-rs#1936 (comment)
casting now consider timezone
i'd like a new function
with_timezone
that could simply change the timezone in datatype without changing any underline valueDescribe 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')
becomes2000-01-01T08:00:00+08:00
with_timezone(with_timezone(timestamp '2000-01-01T00:00:00', '+08:00'), '+07:00')
becomes2000-01-01T07:00:00+07:00
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: