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

    https://github.com/apache/spark/pull/20894#discussion_r176946115
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVOptions.scala
 ---
    @@ -150,6 +150,12 @@ class CSVOptions(
     
       val isCommentSet = this.comment != '\u0000'
     
    +  /**
    +   * The option enables checks of headers in csv files. In particular, 
column names
    +   * are matched to field names of provided schema.
    +   */
    +  val checkHeader = getBool("checkHeader", true)
    --- End diff --
    
    Since the default is true, will it break the current app? This is a 
behavior change. We need to document it in the migration guide. 


---

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

Reply via email to