[
https://issues.apache.org/jira/browse/ARROW-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341439#comment-16341439
]
Jingyuan Wang commented on ARROW-1837:
--------------------------------------
For Java 8 & 9, Integer and Long can partially handle unsigned values, but
looks highly inconvenient. The example I found is to assign the value by
parsing a string.
I agree with you on your proposal of promoting unsigned values to to a wider
type when retrieved. But I also think this might require other Java developers
their opinions as currently UInt2Vector return char/Character. I am not sure
about if this vector has any necessary use cases. If so, it is at least
confusing if not wrong.
> [Java] Unable to read unsigned integers outside signed range for bit width in
> integration tests
> -----------------------------------------------------------------------------------------------
>
> Key: ARROW-1837
> URL: https://issues.apache.org/jira/browse/ARROW-1837
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java - Vectors
> Reporter: Wes McKinney
> Priority: Blocker
> Fix For: 0.9.0
>
> Attachments: generated_primitive.json
>
>
> I believe this was introduced recently (perhaps in the refactors), but there
> was a problem where the integration tests weren't being properly run that hid
> the error from us
> see https://github.com/apache/arrow/pull/1294#issuecomment-345553066
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)