[
https://issues.apache.org/jira/browse/SPARK-49352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-49352.
-----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 47843
[https://github.com/apache/spark/pull/47843]
> Avoid redundant array transform for identical expression
> --------------------------------------------------------
>
> Key: SPARK-49352
> URL: https://issues.apache.org/jira/browse/SPARK-49352
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: L. C. Hsieh
> Assignee: L. C. Hsieh
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Our customer encounters significant performance regression when migrating
> from Spark 3.2 to Spark 3.4 on a `Insert Into` query which is analyzed as a
> `AppendData` on an Iceberg table.
> We found that the root cause is in Spark 3.4, `TableOutputResolver` resolves
> the query with additional `ArrayTransform` on an `ArrayType` field. The
> `ArrayTransform`'s lambda function is actually an identical function, i.e.,
> the transformation is redundant.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]