Skip to content

Commit aca46ec

Browse files
sethahAndrew Or
authored andcommitted
[MINOR][SQL] Fix typo in DataFrameReader csv documentation
## What changes were proposed in this pull request? Typo fix ## How was this patch tested? No tests My apologies for the tiny PR, but I stumbled across this today and wanted to get it corrected for 2.0. Author: sethah <[email protected]> Closes #12912 from sethah/csv_typo. (cherry picked from commit b281377) Signed-off-by: Andrew Or <[email protected]>
1 parent 701c667 commit aca46ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class DataFrameReader private[sql](sparkSession: SparkSession) extends Logging {
407407
* <li>`header` (default `false`): uses the first line as names of columns.</li>
408408
* <li>`ignoreLeadingWhiteSpace` (default `false`): defines whether or not leading whitespaces
409409
* from values being read should be skipped.</li>
410-
* <li>`ignoreTrailingWhiteSpace` (default `fDataFraalse`): defines whether or not trailing
410+
* <li>`ignoreTrailingWhiteSpace` (default `false`): defines whether or not trailing
411411
* whitespaces from values being read should be skipped.</li>
412412
* <li>`nullValue` (default empty string): sets the string representation of a null value.</li>
413413
* <li>`nanValue` (default `NaN`): sets the string representation of a non-number" value.</li>

0 commit comments

Comments
 (0)