You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhen Wang (Jira)" <ji...@apache.org> on 2024/10/11 10:13:00 UTC
[jira] [Commented] (SPARK-49352) Avoid redundant array transform for identical expression
[ https://issues.apache.org/jira/browse/SPARK-49352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888589#comment-17888589 ]
Zhen Wang commented on SPARK-49352:
-----------------------------------
As reported in https://issues.apache.org/jira/browse/SPARK-48922, is there a similar issue for `MapType` as well?
> 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: 4.0.0, 3.3.4, 3.5.2, 3.4.3
> Reporter: L. C. Hsieh
> Assignee: L. C. Hsieh
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0, 3.4.4, 3.5.3
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org