[Java] Check if ArrowBuf is empty buffer in getActualConsumedMemory() and getPossibleConsumedMemory()
オープン
Type: bug
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
Most of the methods related to memory accounting in ArrowBuf have special handling for the case when then Buffer is the empty buffer instance. This check is missing in these two methods.
**Reporter**: [Steven Phillips](https://issues.apache.org/jira/browse/ARROW-791) / @StevenMPhillips
**Note**: *This issue was originally created as [ARROW-791](https://issues.apache.org/jira/browse/ARROW-791). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
コントリビューションガイド
調査の方向性
ArrowBuf の getActualConsumedMemory() と getPossibleConsumedMemory() から始め、空のバッファーの扱いを他のメモリ accounting メソッドと比較してください。空のバッファーで期待される動作を確認し、関連する ArrowBuf テストで両方のメソッドを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 42/100