You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2022/05/17 02:52:00 UTC
[jira] [Created] (SPARK-39202) Introduce a `putByteArrays` method to `WritableColumnVector` to support setting multiple duplicate `byte[]`
Yang Jie created SPARK-39202:
--------------------------------
Summary: Introduce a `putByteArrays` method to `WritableColumnVector` to support setting multiple duplicate `byte[]`
Key: SPARK-39202
URL: https://issues.apache.org/jira/browse/SPARK-39202
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.4.0
Reporter: Yang Jie
Add a `putByteArrays` method to `WritableColumnVector`
{code:java}
int putByteArrays(int rowId, int total, byte[] value) {code}
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
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org