Andrew Xue created SPARK-48622:
----------------------------------

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


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!



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