dongjoon-hyun commented on a change in pull request #24005: [SPARK-27085][SQL] 
Migrate CSV to File Data Source V2
URL: https://github.com/apache/spark/pull/24005#discussion_r267463734
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/test/DataFrameReaderWriterSuite.scala
 ##########
 @@ -428,7 +428,7 @@ class DataFrameReaderWriterSuite extends QueryTest with 
SharedSQLContext with Be
     val message = intercept[AnalysisException] {
       testRead(spark.read.csv(), Seq.empty, schema)
     }.getMessage
-    assert(message.contains("Unable to infer schema for CSV. It must be 
specified manually."))
+    assert(message.toLowerCase(Locale.ROOT).contains("unable to infer schema 
for csv"))
 
 Review comment:
   Is this change needed due to the change from `CSV` to `csv` in exception 
message?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to