Github user davies commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3764#discussion_r22204525
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala ---
    @@ -438,6 +438,20 @@ class SchemaRDD(
       }
     
       /**
    +   * Serializes the Array[Row] returned by SchemaRDD's takeSample(), using 
the same
    +   * format as javaToPython and collectToPython. It is used by pyspark.
    +   */
    +  private[sql] def takeSampleToPython(withReplacement: Boolean,
    +                                       num: Int,
    --- End diff --
    
    nit: these arguments should be indented by 4 spaces, see others as example.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to