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

    https://github.com/apache/spark/pull/22503#discussion_r220251783
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVOptions.scala
 ---
    @@ -212,6 +212,11 @@ class CSVOptions(
         settings.setEmptyValue(emptyValueInRead)
         settings.setMaxCharsPerColumn(maxCharsPerColumn)
         
settings.setUnescapedQuoteHandling(UnescapedQuoteHandling.STOP_AT_DELIMITER)
    +
    +    if (multiLine) {
    +      settings.setLineSeparatorDetectionEnabled(true)
    --- End diff --
    
    Would be simple just `settings.setLineSeparatorDetectionEnabled(multiLine)` 
or `settings.setLineSeparatorDetectionEnabled(multiLine == true)`?


---

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

Reply via email to