We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc64f32 commit 48aa2e5Copy full SHA for 48aa2e5
sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
@@ -252,8 +252,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
252
protected[sql] val planner = new SparkPlanner
253
254
@transient
255
- protected[sql] lazy val emptyResult =
256
- sparkContext.parallelize(Seq(new GenericRow(Array[Any]()): Row), 1)
+ protected[sql] lazy val emptyResult = sparkContext.parallelize(Seq.empty[Row], 1)
257
258
/**
259
* Prepares a planned SparkPlan for execution by binding references to specific ordinals, and
0 commit comments