apache / apache/arrow-java

[Java] remove FieldReader from ValueVector

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

描述

Every implementation of ValueVector has an instance of .FieldReader, which has an overhead of 28 bytes on the heap. This can be avoided by instantiating the object only when required.

**Reporter**: [Pindikura Ravindra](https://issues.apache.org/jira/browse/ARROW-5484) / @pravindra
#### Related issues:
- [[Java] reduce heap footprint of ValueVectors](https://github.com/apache/arrow-java/issues/412) (is a child of)

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

贡献指南

打开贡献指南

调研方向

首先定位 ValueVector 以及所有持有 FieldReader 的实现,然后查看相关的堆内存占用 issue #412 以了解背景。只有在需要时才创建 reader,并且所有受影响的 ValueVector 实现仍然正确,这项工作才算完成。

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

评估

技术栈
java
领域
data
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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