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

    https://github.com/apache/spark/pull/16976#discussion_r120040302
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala ---
    @@ -463,6 +463,7 @@ class DataFrameReader private[sql](sparkSession: 
SparkSession) extends Logging {
        * <li>`columnNameOfCorruptRecord` (default is the value specified in
        * `spark.sql.columnNameOfCorruptRecord`): allows renaming the new field 
having malformed string
        * created by `PERMISSIVE` mode. This overrides 
`spark.sql.columnNameOfCorruptRecord`.</li>
    +   * <li>`wholeFile` (default `false`): parse one record, which may span 
multiple lines.</li>
    --- End diff --
    
    In JSON, when `wholeFile` is on, we only parse one and only one record 
(i.e., table rows). The semantics are different. Let us fix the option name for 
CSV in 2.2. 


---
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