[JAVA] Vector should avoid reallocating validity buffer when necessary
オープン
Type: enhancement
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
Vector always reallocates validity buffer in the case of all-null or non-null
Ideally we should only allocate if the source was not provided
**Reporter**: [Zhenyuan Zhao](https://issues.apache.org/jira/browse/ARROW-3222) / @zzhao0
**Note**: *This issue was originally created as [ARROW-3222](https://issues.apache.org/jira/browse/ARROW-3222). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
コントリビューションガイド
調査の方向性
BaseFixedWidthVector.java#L511 と BitVectorHelper.java#L180 のアロケーションパスから始め、すべて null のベクターと null でないベクターについて validity バッファーがどのように扱われるかを追跡します。ソースが提供されていない場合にのみアロケーションが行われ、同時に不要な validity バッファーの再アロケーションが回避されれば、変更は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- data, performance
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100