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

    https://github.com/apache/spark/pull/23202#discussion_r238199960
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/csv/CSVInferSchema.scala
 ---
    @@ -98,6 +100,7 @@ class CSVInferSchema(options: CSVOptions) extends 
Serializable {
               compatibleType(typeSoFar, 
tryParseDecimal(field)).getOrElse(StringType)
             case DoubleType => tryParseDouble(field)
             case TimestampType => tryParseTimestamp(field)
    +        case DateType => tryParseDate(field)
    --- End diff --
    
    I see. Can we try date first above? was wondering if there was a reason to 
try date first.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to