0ba1d3852b
### What changes were proposed in this pull request? Using copy-on-write for `SQLConf.sqlConfEntries` and `SQLConf.staticConfKeys` to reduce contention in concurrent workloads. ### Why are the changes needed? The global locks used to protect `SQLConf.sqlConfEntries` map and the `SQLConf.staticConfKeys` set can cause significant contention on the `SQLConf` instance in a concurrent setting. Using copy-on-write versions should reduce the contention given that modifications to the configs are relatively rare. Closes #32865 from haiyangsun-db/SPARK-35701. Authored-by: Haiyang Sun <haiyang.sun@databricks.com> Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |