tustvold opened a new pull request, #1937:
URL: https://github.com/apache/arrow-rs/pull/1937
# Which issue does this PR close?
Closes #1932
# Rationale for this change
Prior to
https://github.com/apache/arrow-rs/pull/1682/files#diff-103f6c92559ee00d93eff806b411e0c8c8d249564fb3f8674da1da7693f86cb1L393
the writer would set `is_adjusted_to_u_t_c` to true if any timezone was
present in the arrow datatype. This was incorrect as normalization to UTC would
never actually occur.
The fix was to always set `is_adjusted_to_u_t_c` to be false, which whilst
correct, is overly conservative and represents a regression for the case where
the timezone actually is UTC.
# What changes are included in this PR?
If the source array is already normalized to UTC, set `is_adjusted_to_u_t_c`
to be true
# Are there any user-facing changes?
Yes, not sure if counts as breaking though
--
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]