You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "henrymai (via GitHub)" <gi...@apache.org> on 2023/04/27 09:39:09 UTC

[GitHub] [arrow] henrymai opened a new issue, #35352: [Java][Vector]UnionListWriter is unable write some types

henrymai opened a new issue, #35352:
URL: https://github.com/apache/arrow/issues/35352

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   UnionListWriter ends up throwing an exception when trying to use the UnionListWriter as follows:
   
   ```
   [...]
   
   org.apache.arrow.vector.complex.writer.FieldWriter writer = vector.getWriter();
   writer.allocate();
   writer.startList();
   writer.timeStampMilliTZ().writeTimeStampMilliTZ(1000L);
   // ^ exception thrown here:
   // IllegalArgument You tried to write a TimeStampMilliTZ type when you are using a ValueWriter of type UnionListWriter.
   
   [...]
   ```
   
   This also occurs for types FixedSizeBinary and Duration.
   
   ### Component(s)
   
   Java


-- 
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-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow] lidavidm closed issue #35352: [Java][Vector]UnionListWriter is unable write some types

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #35352: [Java][Vector]UnionListWriter is unable write some types
URL: https://github.com/apache/arrow/issues/35352


-- 
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-unsubscribe@arrow.apache.org

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