apache / apache/arrow-java

[Java][C++] Reorganize JNI code from several modules

未关闭
#314 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: bug
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

We have several modules implementing JNI wrappers:

1. gandiva
1. plasma
1. dataset
1. orc

We can reorganize all the JNI-related codes, maybe into a single parent module, to split out the common utilities (e.g. memory pool, exception handling, reference management).

**Reporter**: [Hongze Zhang](https://issues.apache.org/jira/browse/ARROW-16691) / @zhztheplayer

**Note**: *This issue was originally created as [ARROW-16691](https://issues.apache.org/jira/browse/ARROW-16691). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

贡献指南

打开贡献指南

调研方向

首先检查 gandiva、plasma、dataset 和 orc 模块中的 JNI 包装器代码。在决定应如何组织共享的父模块之前,梳理重复的内存池、异常处理和引用管理工具。完成的标准是 JNI 代码已重新组织,并且共享工具得到复用,同时不丢失模块覆盖范围。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, java
领域
backend
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。