[ 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 (profile in attachments) 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: > 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 > 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