You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "MaxGekk (via GitHub)" <gi...@apache.org> on 2023/07/10 07:04:44 UTC

[GitHub] [spark] MaxGekk commented on a diff in pull request #41909: [SPARK-44320][SQL] Assign names to the error class _LEGACY_ERROR_TEMP_[1067,1150,1220,1265,1277]

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


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -1204,7 +1225,7 @@
       },
       "MISMATCH_INPUT" : {
         "message" : [
-          "The input <inputType> '<input>' does not match the format."
+          "The input <inputType> <input> does not match the format."

Review Comment:
   Thank you.



##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -2544,6 +2570,11 @@
       "The direct query on files does not support the data source type: <className>. Please try a different data source type or consider using a different query method."
     ]
   },
+  "UNSUPPORTED_DATA_TYPE_FOR_DATASOURCE" : {
+    "message" : [
+      "The <format> datasource don't support column <columnName> with the type of <columnType>."

Review Comment:
   ```suggestion
         "The <format> datasource doesn't support the column <columnName> of the type <columnType>."
   ```



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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