Skip to content

Commit f5d7146

Browse files
avoid exception in printing the codegen enabled
1 parent b41a39e commit f5d7146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
444444
|${stringOrError(optimizedPlan)}
445445
|== Physical Plan ==
446446
|${stringOrError(executedPlan)}
447-
|Code Generation: ${executedPlan.codegenEnabled}
447+
|Code Generation: ${stringOrError(executedPlan.codegenEnabled)}
448448
|== RDD ==
449449
""".stripMargin.trim
450450
}

0 commit comments

Comments
 (0)