apache / parquet-java

Apache Parquet Java
https://parquet.apache.org/
Apache License 2.0
2.65k stars 1.41k forks source link

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

Open doki23 opened 3 months ago

doki23 commented 3 months ago

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