Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
7.0.0
Description
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:
((ArrowType.Timestamp) vector.getField().getFieldType().getType()).getTimezone()
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.
Attachments
Issue Links
- links to