GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/21436
[SPARK-24250][SQL][Follow-up] support accessing SQLConf inside tasks ## What changes were proposed in this pull request? We should not stop users from calling `getActiveSession` and `getDefaultSession` in executors. To not break the existing behaviors, we should simply return None. ## How was this patch tested? N/A You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark followUpSPARK-24250 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21436.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 #21436 ---- commit 82a0f8754dd874435039506365841d4c0734c0d6 Author: Xiao Li <gatorsmile@...> Date: 2018-05-26T00:14:39Z fix ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org