Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.0.2
-
None
Description
there are some redundant conditional in spark, such as
1.
private[spark] def codegenEnabled: Boolean =
if (getConf(CODEGEN_ENABLED, "false") == "true") true else false
2.
x => if (x == 2) true else false
... etc