[Java] Add support for sliced arrays in C Data Interface
- 主要语言
- Java
- 星标
- 94
- 派生
- 152
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 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