File tree Expand file tree Collapse file tree
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ trait SQLConf {
4848 * Defaults to false as this feature is currently experimental.
4949 */
5050 private [spark] def codegenEnabled : Boolean =
51- if (get(" spark.sql.codegen " , " false" ) == " true" ) true else false
51+ if (get(CODEGEN_ENABLED , " false" ) == " true" ) true else false
5252
5353 /**
5454 * Upper bound on the sizes (in bytes) of the tables qualified for the auto conversion to
@@ -107,6 +107,7 @@ object SQLConf {
107107 val AUTO_CONVERT_JOIN_SIZE = " spark.sql.auto.convert.join.size"
108108 val SHUFFLE_PARTITIONS = " spark.sql.shuffle.partitions"
109109 val JOIN_BROADCAST_TABLES = " spark.sql.join.broadcastTables"
110+ val CODEGEN_ENABLED = " spark.sql.codegen"
110111
111112 object Deprecated {
112113 val MAPRED_REDUCE_TASKS = " mapred.reduce.tasks"
You can’t perform that action at this time.
0 commit comments