Skip to content

Commit d032bf9

Browse files
committed
[SQL]Excess judgment
1 parent fe47359 commit d032bf9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ trait SQLConf {
8787
*
8888
* Defaults to false as this feature is currently experimental.
8989
*/
90-
private[spark] def codegenEnabled: Boolean =
91-
if (getConf(CODEGEN_ENABLED, "false") == "true") true else false
90+
private[spark] def codegenEnabled: Boolean = getConf(CODEGEN_ENABLED, "false") == "true"
9291

9392
/**
9493
* Upper bound on the sizes (in bytes) of the tables qualified for the auto conversion to

0 commit comments

Comments
 (0)