Skip to content

Commit

Permalink
The return type mentioned in the Javadoc is incorrect for toJavaRDD, …
Browse files Browse the repository at this point in the history
…fix it.
  • Loading branch information
holdenk committed Jun 28, 2016
1 parent d59ba8e commit f8533ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit f8533ca

Please sign in to comment.