You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Artem Kupchinskiy (Jira)" <ji...@apache.org> on 2020/12/07 11:43:00 UTC

[jira] [Created] (SPARK-33689) RowEncoder primitive arrays support

Artem Kupchinskiy created SPARK-33689:
-----------------------------------------

             Summary: 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


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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org