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

Kent Yao resolved SPARK-48622.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 46979
[https://github.com/apache/spark/pull/46979]

> 50% cpu time spent on SQLConf.getConf in ALTER ADD COLUMN query
> ---------------------------------------------------------------
>
>                 Key: SPARK-48622
>                 URL: https://issues.apache.org/jira/browse/SPARK-48622
>             Project: Spark
>          Issue Type: Bug
>          Components: Optimizer
>    Affects Versions: 3.5.1
>            Reporter: Andrew Xue
>            Assignee: Andrew Xue
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: Screenshot 2024-06-13 at 12.51.16 PM.png
>
>
> SQLConf.caseSensitiveAnalsysis is evaluated for all (existing and added) 
> columns in an ALTER ADD COLUMN query. For a query on a table with 10k columns 
> and adding 1 new column, 50% of cpu time is spent in SQLConf.getConf (profile 
> in attachments)
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to