Skip to content

Commit 5170da2

Browse files
author
J. Benjamin Cook
committed
[SPARK-4860][pyspark][sql] fixing typo: from RDD to SchemaRDD
1 parent de22f70 commit 5170da2

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/api/java/JavaSchemaRDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class JavaSchemaRDD(
220220
this.baseSchemaRDD.subtract(other.baseSchemaRDD, p).toJavaSchemaRDD
221221

222222
/**
223-
* Return an RDD with a sampled version of the underlying dataset.
223+
* Return a SchemaRDD with a sampled version of the underlying dataset.
224224
*/
225225
def sample(withReplacement: Boolean, fraction: Double, seed: Long): JavaSchemaRDD =
226226
this.baseSchemaRDD.sample(withReplacement, fraction, seed).toJavaSchemaRDD

0 commit comments

Comments
 (0)