You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2024/05/17 12:37:00 UTC

[jira] [Assigned] (SPARK-48312) Improve Alias.removeNonInheritableMetadata performance

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

Wenchen Fan reassigned SPARK-48312:
-----------------------------------

    Assignee: Vladimir Golubev

> Improve Alias.removeNonInheritableMetadata performance
> ------------------------------------------------------
>
>                 Key: SPARK-48312
>                 URL: https://issues.apache.org/jira/browse/SPARK-48312
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Vladimir Golubev
>            Assignee: Vladimir Golubev
>            Priority: Major
>              Labels: pull-request-available
>
> `Alias.removeNonInheritableMetadata(...)` uses `MetadataBuilder`, which does expensive map manipulation (allocation, ++, remove). When `removeNonInheritableMetadata` is frequently called (e.g. wide VIEWs with many Aliases), it significantly slows down the code.



--
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