apache / apache/arrow-java

[Java] remove FieldReader from ValueVector

Open
#411 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

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.*

Contributor guide

Open the contributing guide

Research direction

Start by locating ValueVector and every implementation that holds a FieldReader, then inspect the related heap-footprint issue #412 for context. The work is done when the reader is created only when required and all affected ValueVector implementations remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.