You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Bryan Cutler (Jira)" <ji...@apache.org> on 2022/03/04 22:29:00 UTC
[jira] [Resolved] (ARROW-15795) Add a getter for the timeZone in TimeStampMicroTZVector
[ https://issues.apache.org/jira/browse/ARROW-15795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Cutler resolved ARROW-15795.
----------------------------------
Fix Version/s: 8.0.0
Resolution: Fixed
Issue resolved by pull request 12521
[https://github.com/apache/arrow/pull/12521]
> Add a getter for the timeZone in TimeStampMicroTZVector
> -------------------------------------------------------
>
> Key: ARROW-15795
> URL: https://issues.apache.org/jira/browse/ARROW-15795
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Affects Versions: 7.0.0
> Reporter: Fabien
> Priority: Minor
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> TimeStampMicroTZVector is a vector containing a timezone.
> However when reading values from this vector there is no clean way to get this time zone.
> The current way to get it is:
> {code:java}
> ((ArrowType.Timestamp) vector.getField().getFieldType().getType()).getTimezone()
> {code}
> But the vector has the timezone as a private field: https://github.com/apache/arrow/blob/fa78edc8b08fa022e34db8b8fdeef4df41de703f/java/vector/src/main/java/org/apache/arrow/vector/TimeStampMicroTZVector.java#L41
> so adding a getter is easy and would really simplify reading the values in this vector.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)