Saath created SPARK-60321:
-----------------------------

             Summary: Avoid intermediate copies of byte-array-backed strings in 
Parquet writes
                 Key: SPARK-60321
                 URL: https://issues.apache.org/jira/browse/SPARK-60321
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 5.0.0
            Reporter: Saath


Whilst writing a string to Parquet:
 * If the string is backed by a byte array, we pass the existing slice to 
Parquet without an intermediate copy.
 * Otherwise, we first copy its bytes into a byte array.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to