Github user MaxGekk commented on a diff in the pull request: https://github.com/apache/spark/pull/20959#discussion_r181165340 --- 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 -- Please, have a look at the PR: https://github.com/apache/spark/pull/21056
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org