nbauernfeind opened a new issue, #552:
URL: https://github.com/apache/arrow-java/issues/552

   ### Describe the enhancement requested
   
   Trying to get a `timeStampNanoTZ()` off of the `UnionFixedSizeListWriter` 
results in this exception:
   ```
   You tried to write a TimeStampNanoTZ type when you are using a ValueWriter 
of type UnionFixedSizeListWriter.
   java.lang.IllegalArgumentException: You tried to write a TimeStampNanoTZ 
type when you are using a ValueWriter of type UnionFixedSizeListWriter.
        at 
org.apache.arrow.vector.complex.impl.AbstractFieldWriter.fail(AbstractFieldWriter.java:1350)
        at 
org.apache.arrow.vector.complex.impl.AbstractFieldWriter.timeStampNanoTZ(AbstractFieldWriter.java:1136)
        at 
org.apache.arrow.vector.complex.impl.UnionFixedSizeListWriter.timeStampNanoTZ(UnionFixedSizeListWriter.java:68)
   ```
   
   Is it possible to support this since timeStampNano() and timeStampNanoTZ() 
have identical payloads? (just one has the TZ string in the field schema)


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to