diff options
author | Holden Karau <holden@us.ibm.com> | 2016-06-29 01:52:20 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2016-06-29 01:52:20 -0700 |
commit | 757dc2c09d23400dacac22e51f52062bbe471136 (patch) | |
tree | 5d0dce7e3a1ded54eabbc7a5d4283b407953b9bf | |
parent | f454a7f9f03807dd768319798daa1351bbfc7288 (diff) | |
download | spark-757dc2c09d23400dacac22e51f52062bbe471136.tar.gz spark-757dc2c09d23400dacac22e51f52062bbe471136.tar.bz2 spark-757dc2c09d23400dacac22e51f52062bbe471136.zip |
[TRIVIAL][DOCS][STREAMING][SQL] The return type mentioned in the Javadoc is incorrect for toJavaRDD, …
## What changes were proposed in this pull request?
Change the return type mentioned in the JavaDoc for `toJavaRDD` / `javaRDD` to match the actual return type & be consistent with the scala rdd return type.
## How was this patch tested?
Docs only change.
Author: Holden Karau <holden@us.ibm.com>
Closes #13954 from holdenk/trivial-streaming-tojavardd-doc-fix.
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala | 4 |
1 files 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 df9f1888ee..a6581eb563 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 */ |