Skip to content

Commit

Permalink
[SPARK-4860][pyspark][sql] fixing typo: from RDD to SchemaRDD
Browse files Browse the repository at this point in the history
  • Loading branch information
J. Benjamin Cook committed Dec 23, 2014
1 parent de22f70 commit 5170da2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class JavaSchemaRDD(
this.baseSchemaRDD.subtract(other.baseSchemaRDD, p).toJavaSchemaRDD

/**
* Return an RDD with a sampled version of the underlying dataset.
* Return a SchemaRDD with a sampled version of the underlying dataset.
*/
def sample(withReplacement: Boolean, fraction: Double, seed: Long): JavaSchemaRDD =
this.baseSchemaRDD.sample(withReplacement, fraction, seed).toJavaSchemaRDD
Expand Down

0 comments on commit 5170da2

Please sign in to comment.