Skip to content

Commit b36993f

Browse files
committed
Update the return type to JavaRDD[T]
1 parent 71df047 commit b36993f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ private[spark] object PythonRDD extends Logging {
426426
}
427427

428428
/** Create an RDD that has no partitions or elements. */
429-
def emptyRDD[T](sc: JavaSparkContext): JavaRDD[Array[Byte]] = {
430-
sc.emptyRDD[Array[Byte]]
429+
def emptyRDD[T](sc: JavaSparkContext): JavaRDD[T] = {
430+
sc.emptyRDD[T]
431431
}
432432

433433
/**

0 commit comments

Comments
 (0)