[Java] UInt4Vector/UInt8Vector can't represent their full range
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
### Describe the bug, including details regarding any error messages, version, and platform.
The `Uint4Vector` set methods only accept an `int` type. I have some `uint32` values which I currently hold as `long` values in Java, as Java does not support unsigned integer types; long ensures no overflow. When writing to Arrow though, I would like to write it as its true `uint32` representation. Similar issue with `Uint8Vector`, where it only accepts `long` and no `BigInteger`. I did notice that `Uint2Vector` _does_ allow input as either `int` or `char`; so just seems the other UInt structures were neglected.
### Component(s)
Java
コントリビューションガイド
調査の方向性
issue で説明されている Uint4Vector と Uint8Vector の set メソッドから始め、受け付ける入力を既存の Uint2Vector の int および char オーバーロードと比較します。Uint4Vector が該当する uint32 値を表現でき、Uint8Vector が必要な BigInteger 値をオーバーフローなしで受け付けられるようになれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- data
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100