[ 
https://issues.apache.org/jira/browse/SPARK-60425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuming Wang updated SPARK-60425:
--------------------------------
    Description: {{InternalRow.copyValue}} copies {{{}UTF8String{}}}, 
{{{}BinaryView{}}}, {{{}InternalRow{}}}, {{{}ArrayData{}}}, and {{MapData}} 
values to detach them from any mutable buffer they may be backed by, but fell 
through to the default case (returning the same reference) for 
{{{}Array[Byte]{}}}. This PR adds a case that clones the byte array.

> InternalRow.copyValue does not clone Array[Byte] values
> -------------------------------------------------------
>
>                 Key: SPARK-60425
>                 URL: https://issues.apache.org/jira/browse/SPARK-60425
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.4.0
>            Reporter: Yuming Wang
>            Priority: Major
>              Labels: pull-request-available
>
> {{InternalRow.copyValue}} copies {{{}UTF8String{}}}, {{{}BinaryView{}}}, 
> {{{}InternalRow{}}}, {{{}ArrayData{}}}, and {{MapData}} values to detach them 
> from any mutable buffer they may be backed by, but fell through to the 
> default case (returning the same reference) for {{{}Array[Byte]{}}}. This PR 
> adds a case that clones the 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