Skip to content

Commit 15c5d1b

Browse files
author
Nathan Howell
committed
JSONRelation's baseRDD need not be lazy
1 parent f8add6e commit 15c5d1b

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/json/JSONRelation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private[sql] class DefaultSource
104104
}
105105

106106
private[sql] class JSONRelation(
107-
baseRDD: => RDD[String],
107+
baseRDD: RDD[String],
108108
val path: Option[String],
109109
val samplingRatio: Double,
110110
userSpecifiedSchema: Option[StructType])(

0 commit comments

Comments
 (0)