Skip to content

Commit 6fbc769

Browse files
author
J. Benjamin Cook
committed
[SPARK-4860][pyspark][sql] fixing sloppy indentation for takeSampleToPython() arguments
1 parent 5170da2 commit 6fbc769

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,10 @@ class SchemaRDD(
441441
* Serializes the Array[Row] returned by SchemaRDD's takeSample(), using the same
442442
* format as javaToPython and collectToPython. It is used by pyspark.
443443
*/
444-
private[sql] def takeSampleToPython(withReplacement: Boolean,
445-
num: Int,
446-
seed: Long): JList[Array[Byte]] = {
444+
private[sql] def takeSampleToPython(
445+
withReplacement: Boolean,
446+
num: Int,
447+
seed: Long): JList[Array[Byte]] = {
447448
val fieldTypes = schema.fields.map(_.dataType)
448449
val pickle = new Pickler
449450
new java.util.ArrayList(this.takeSample(withReplacement, num, seed).map { row =>

0 commit comments

Comments
 (0)