[
https://issues.apache.org/jira/browse/SPARK-33689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245157#comment-17245157
]
Apache Spark commented on SPARK-33689:
--------------------------------------
User 'Koraseg' has created a pull request for this issue:
https://github.com/apache/spark/pull/30644
> ArrayData specialization to enable RowEncoder primitive arrays support
> ----------------------------------------------------------------------
>
> Key: SPARK-33689
> URL: https://issues.apache.org/jira/browse/SPARK-33689
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.1
> Reporter: Artem Kupchinskiy
> Priority: Major
>
> Currently, even non-nullable array fields are represented as
> WrappedArray.ofRef in external rows. It leads to memory footprint, as well as
> unnecessary cycles in boxing/unboxing operations. Ideally, if arrays are
> non-nullable and contain primitive values, they should be represented as
> specialized less-overhead versions of WrappedArray.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]