MaxGekk commented on code in PR #39281:
URL: https://github.com/apache/spark/pull/39281#discussion_r1059864856


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -426,6 +426,11 @@
     ],
     "sqlState" : "42000"
   },
+  "DATA_SOURCE_NOT_FOUND" : {
+    "message" : [
+      "Failed to find data source: <provider>. Please find packages at 
`https://spark.apache.org/third-party-projects.html`";

Review Comment:
   nit:
   ```suggestion
         "Failed to find the data source: <provider>. Please find packages at 
`https://spark.apache.org/third-party-projects.html`.";
   ```



##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala:
##########
@@ -734,7 +734,7 @@ private[sql] object QueryExecutionErrors extends 
QueryErrorsBase {
   def failedToFindDataSourceError(

Review Comment:
   Let's make it consistent w/ the error class name:
   ```suggestion
     def dataSourceNotFoundError(
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to