GitHub user andrewor14 opened a pull request: https://github.com/apache/spark/pull/12669
[SPARK-14902][SQL] Expose RuntimeConfig in SparkSession ## What changes were proposed in this pull request? `RuntimeConfig` is the new user-facing API in 2.0 added in #11378. Until now, however, it's been dead code. This patch uses `RuntimeConfig` in `SessionState` and exposes that through the `SparkSession`. ## How was this patch tested? Jenkins. You can merge this pull request into a Git repository by running: $ git pull https://github.com/andrewor14/spark use-runtime-conf Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12669.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 #12669 ---- commit b39c812e5b9a42d060c2914d81ee28a2ec558d41 Author: Andrew Or <and...@databricks.com> Date: 2016-04-25T19:22:05Z Use RuntimeConfig, rename all usages of SQLConf commit 9dc2ce8afea89a0d2ee24ac0c9b59bf47d8135dd Author: Andrew Or <and...@databricks.com> Date: 2016-04-25T19:31:55Z Expose RuntimeConfig in SparkSession commit 9550d426efd5bd45078b18841237a70daec2bfab Author: Andrew Or <and...@databricks.com> Date: 2016-04-25T20:33:22Z Merge branch 'master' of github.com:apache/spark into use-runtime-conf commit 466fcbf78ca830f66f9a36c72a1fe1365e1f7e56 Author: Andrew Or <and...@databricks.com> Date: 2016-04-25T21:21:09Z Fix all usages of sparkContext.hadoopConfiguration in SQL If we want the user to set hadoop confs through `sparkSession.conf` then we need to use that conf internally everywhere, otherwise they might set a conf there and not actually see the set value downstream. commit a4f2d3fd19862110ffa9ed7e12861384ee6582a7 Author: Andrew Or <and...@databricks.com> Date: 2016-04-25T21:32:41Z Keep RuntimeConfig serializable ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org