Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22374#discussion_r217075954
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala
 ---
    @@ -216,7 +216,12 @@ class UnivocityParser(
       }
     
       private def convert(tokens: Array[String]): InternalRow = {
    -    if (tokens.length != parsedSchema.length) {
    +    if (tokens == null) {
    --- End diff --
    
    when will we hit this?


---

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

Reply via email to