Skip to content

Commit

Permalink
[SPARK-4274] [SQL] Fix NPE in printing the details of the query plan
Browse files Browse the repository at this point in the history
Author: Cheng Hao <hao.cheng@intel.com>

Closes apache#3139 from chenghao-intel/comparison_test and squashes the following commits:

f5d7146 [Cheng Hao] avoid exception in printing the codegen enabled
  • Loading branch information
chenghao-intel authored and marmbrus committed Nov 11, 2014
1 parent ce6ed2a commit c764d0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
|${stringOrError(optimizedPlan)}
|== Physical Plan ==
|${stringOrError(executedPlan)}
|Code Generation: ${executedPlan.codegenEnabled}
|Code Generation: ${stringOrError(executedPlan.codegenEnabled)}
|== RDD ==
""".stripMargin.trim
}
Expand Down

0 comments on commit c764d0a

Please sign in to comment.