advancedxy opened a new pull request, #41168: URL: https://github.com/apache/spark/pull/41168
### What changes were proposed in this pull request? 1. sparkConf's getOption/get supports substitution for raw keys 2. sparkConf's getAllWithPrefix supports substitution for values ### Why are the changes needed? To be consistent between `sparkConf.get(CONFIG_ENTRY_A)` and `sparkConf.get(CONFIG_ENTRY_A.key)`. It's also a todo left for: https://github.com/apache/spark/pull/18394#discussion_r126241078 ### Does this PR introduce _any_ user-facing change? Yes. Some values contain env/sys variables, such as `${env:xxx}`, `${sys:yyy}` might be substituted by the real one. However I doubt that's rarely possibel ### How was this patch tested? Added new UTs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
