Saath created SPARK-62125:
-----------------------------

             Summary: Avoid intermediate copies of binary values in Parquet 
writes
                 Key: SPARK-62125
                 URL: https://issues.apache.org/jira/browse/SPARK-62125
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.5.0
            Reporter: Saath


Whilst writing binary values to Parquet:

  - For byte-array-backed unsafe rows and arrays, we pass the existing slice to 
Parquet without an intermediate copy.
  - For other backing storage, we first copy the bytes into a byte array.
  - For other row and array implementations, we keep the existing getBinary 
path.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to