[
https://issues.apache.org/jira/browse/SPARK-60425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuming Wang resolved SPARK-60425.
---------------------------------
Resolution: Not A Bug
> 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
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]