From f8533ca6a9eac58602549e82d59440d8aa55cb3e Mon Sep 17 00:00:00 2001 From: Holden Karau Date: Tue, 28 Jun 2016 14:10:54 -0700 Subject: [PATCH] The return type mentioned in the Javadoc is incorrect for toJavaRDD, fix it. --- sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala b/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala index 9997162f7cfcf..3c7a7cd4c3c23 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala @@ -2383,14 +2383,14 @@ class Dataset[T] private[sql]( } /** - * Returns the content of the Dataset as a [[JavaRDD]] of [[Row]]s. + * Returns the content of the Dataset as a [[JavaRDD]] of [[T]]s. * @group basic * @since 1.6.0 */ def toJavaRDD: JavaRDD[T] = rdd.toJavaRDD() /** - * Returns the content of the Dataset as a [[JavaRDD]] of [[Row]]s. + * Returns the content of the Dataset as a [[JavaRDD]] of [[T]]s. * @group basic * @since 1.6.0 */