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

caican updated SPARK-40170:
---------------------------
    Description: 
When `UnsafeRow` is converted to `Row` at 
`org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificSafeProjection.createExternalRow
 `,  UTF8String decoding and copyMemory  process are very slow.

Does anyone have any ideas for optimization?

!image-2022-08-22-10-56-54-768.png!

 

!image-2022-08-22-10-57-11-744.png!

  was:
When `UnsafeRow` is converted to `Row` at  
`org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificSafeProjection.createExternalRow
 `,  UTF8String decoding and copyMemory  process are very slow.

!image-2022-08-22-10-56-54-768.png!

 

!image-2022-08-22-10-57-11-744.png!


> StringCoding UTF8 decode slowly
> -------------------------------
>
>                 Key: SPARK-40170
>                 URL: https://issues.apache.org/jira/browse/SPARK-40170
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: caican
>            Priority: Major
>         Attachments: image-2022-08-22-10-56-54-768.png, 
> image-2022-08-22-10-57-11-744.png
>
>
> When `UnsafeRow` is converted to `Row` at 
> `org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificSafeProjection.createExternalRow
>  `,  UTF8String decoding and copyMemory  process are very slow.
> Does anyone have any ideas for optimization?
> !image-2022-08-22-10-56-54-768.png!
>  
> !image-2022-08-22-10-57-11-744.png!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to