Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
3.4.0
-
None
-
None
Description
Add a `putByteArrays` method to `WritableColumnVector`
int putByteArrays(int rowId, int total, byte[] value)
this method used to support setting multiple duplicate `byte[]` to `WritableColumnVector`.
Since `byte[] value` is fixed length, memory can allocated at one time without calling `
reserve(int requiredCapacity)` method many times.
This method is applicable to `ColumnVectorUtils.populate` method with `StringType` and partial `DecimalType` scenario, this corresponds to the Vectorized Partition Column filling of Parquet and Orc