GitHub user kiszk opened a pull request:
https://github.com/apache/spark/pull/19449
[SPARK-22219][SQL] Refactor code to get a value for
"spark.sql.codegen.comments"
## What changes were proposed in this pull request?
This PR refactors code to get a value for "spark.sql.codegen.comments" by
avoiding `SparkEnv.get.conf`. This PR uses `SQLConf.get.codegenComments` since
`SQLConf.get` always returns an instance of `SQLConf`.
## How was this patch tested?
Added test case to `DebuggingSuite`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiszk/spark SPARK-22219
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19449.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 #19449
----
commit be4220dcb218366f81f4015af56bee9fade90066
Author: Kazuaki Ishizaki <[email protected]>
Date: 2017-10-06T17:54:03Z
Initial commit
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]