[
https://issues.apache.org/jira/browse/SPARK-48922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiaan Geng resolved SPARK-48922.
--------------------------------
Fix Version/s: 3.5.6
Resolution: Fixed
Issue resolved by pull request 50265
[https://github.com/apache/spark/pull/50265]
> Optimize complex type insertion performance
> -------------------------------------------
>
> Key: SPARK-48922
> URL: https://issues.apache.org/jira/browse/SPARK-48922
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.0, 4.0.0
> Reporter: Zhen Wang
> Assignee: Zhen Wang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.6
>
>
> During the upgrade from Spark 3.1.1 to 3.5.0, I found a performance
> regression in map type inserts.
> There are some extra conversion expressions in project before insert, which
> doesn't seem to be always necessary.
> {code:java}
> map_from_arrays(transform(map_keys(map#516), lambdafunction(lambda key#652,
> lambda key#652, false)), transform(map_values(map#516), lambdafunction(lambda
> value#654, lambda value#654, false))) AS map#656 {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]