apache / apache/parquet-java

Add `BytesInput.fromInts(int[] integers)`

Open
#2,997 0 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

### Describe the enhancement requested

A `BytesInput.fromInts(int[] integers)` method would be a convenient addition for writing tests. How about implementing such a method?
e.g.
`BytesInput repetitionLevels = BytesInput.fromInts(new int[]{1, 2, 3});`

### Component(s)
parquet-common

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the BytesInput entry point in the parquet-common component and inspect its existing factory methods. Add the requested fromInts(int[] integers) API so the example can construct a BytesInput from integer values, then verify the relevant parquet-common tests or add coverage for the example input.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.