gengliangwang commented on a change in pull request #24058: [SPARK-27128][SQL] 
Migrate JSON to File Data Source V2
URL: https://github.com/apache/spark/pull/24058#discussion_r275164835
 
 

 ##########
 File path: R/pkg/tests/fulltests/test_sparkSQL.R
 ##########
 @@ -3657,8 +3657,7 @@ test_that("Call DataFrameWriter.load() API in Java 
without path and check argume
   # It makes sure that we can omit path argument in read.df API and then it 
calls
   # DataFrameWriter.load() without path.
   expect_error(read.df(source = "json"),
-               paste("Error in load : analysis error - Unable to infer schema 
for JSON.",
-                     "It must be specified manually"))
+               "Error in load : analysis error - Unable to infer schema for")
 
 Review comment:
   The current error message is changed to `Unable to infer schema for 
$tableName`, while the `tableName`is `shortName + path`. I can create another 
PR to fix that.

----------------------------------------------------------------
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