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

Andrew Xue updated SPARK-48622:
-------------------------------
    Description: 
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:

 

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

!image-2024-06-13-12-50-06-893.png|width=566,height=434!


> 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
>            Priority: Major
>
> 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:
>  



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