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

    https://github.com/apache/spark/pull/20959#discussion_r179934772
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala ---
    @@ -528,6 +529,7 @@ class DataFrameReader private[sql](sparkSession: 
SparkSession) extends Logging {
        * <li>`header` (default `false`): uses the first line as names of 
columns.</li>
        * <li>`inferSchema` (default `false`): infers the input schema 
automatically from data. It
        * requires one extra pass over the data.</li>
    +   * <li>`samplingRatio` (default 1.0): the sample ratio of rows used for 
schema inferring.</li>
    --- End diff --
    
    Also need to update the PySpark API


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to