[
https://issues.apache.org/jira/browse/SPARK-49352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun closed SPARK-49352.
---------------------------------
> Avoid redundant array transform for identical expression
> --------------------------------------------------------
>
> Key: SPARK-49352
> URL: https://issues.apache.org/jira/browse/SPARK-49352
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.3.4, 3.5.2, 3.4.3, 4.0.0
> Reporter: L. C. Hsieh
> Assignee: L. C. Hsieh
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.4, 3.5.3, 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]