GitHub user ueshin opened a pull request: https://github.com/apache/spark/pull/23046
[SPARK-23207][SQL][FOLLOW-UP] Use `SQLConf.get.enableRadixSort` instead of `SparkEnv.get.conf.get(SQLConf.RADIX_SORT_ENABLED)`. ## What changes were proposed in this pull request? This is a follow-up of #20393. We should read the conf `"spark.sql.sort.enableRadixSort"` from `SQLConf` instead of `SparkConf`, i.e., use `SQLConf.get.enableRadixSort` instead of `SparkEnv.get.conf.get(SQLConf.RADIX_SORT_ENABLED)`, otherwise the config is never read. ## How was this patch tested? Existing tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ueshin/apache-spark issues/SPARK-23207/conf Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23046.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #23046 ---- commit d8db5f3759b998e3ef5720f56c1a048c1494a1c1 Author: Takuya UESHIN <ueshin@...> Date: 2018-11-15T11:30:13Z Use `SQLConf.get.enableRadixSort` instead of `SparkEnv.get.conf.get(SQLConf.RADIX_SORT_ENABLED)`. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org