[Java] Add support for sliced arrays in C Data Interface
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
The Java implementation of the C Data Interface does not support non-0-offset arrays. This means that arrays like pyarrow.array([0, None, 2, 3, 4]).slice(1, 2) cannot be moved to a Java process. This is not even documented as required by the spec because it was an oversight.
**Reporter**: [Roee Shlomo](https://issues.apache.org/jira/browse/ARROW-14474) / @roee88
#### Related issues:
- [[Java] Java implementation of Arrow C data interface](https://github.com/apache/arrow/issues/28685) (is caused by)
**Note**: *This issue was originally created as [ARROW-14474](https://issues.apache.org/jira/browse/ARROW-14474). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
コントリビューションガイド
調査の方向性
C Data Interface の Java 実装から始め、pyarrow.array([0, None, 2, 3, 4]).slice(1, 2) を使ってスライスされた配列の例を再現します。0 以外のオフセットを持つ配列を Java プロセスに移せるようになり、このケースと関連する C Data Interface の動作をカバーするテストがあれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- data
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100