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


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -95,6 +95,23 @@
         "message" : [
           "the binary operator requires the input type <inputType>, not 
<actualDataType>."
         ]
+      },
+      "CAST_WITHOUT_SUGGESTION" : {
+        "message" : [
+          "cannot cast <srcType> to <targetType>."
+        ]
+      },
+      "CAST_WITH_CONF_SUGGESTION" : {
+        "message" : [
+          "cannot cast <srcType> to <targetType> with ANSI mode on.",
+          "If you have to cast <srcType> to <targetType>, you can set <config> 
as <configVal>."
+        ]
+      },
+      "CAST_WITH_FUN_SUGGESTION" : {

Review Comment:
   Tell this Rust programmers ;-)



##########
core/src/main/resources/error/error-classes.json:
##########
@@ -95,6 +95,23 @@
         "message" : [
           "the binary operator requires the input type <inputType>, not 
<actualDataType>."
         ]
+      },
+      "CAST_WITHOUT_SUGGESTION" : {
+        "message" : [
+          "cannot cast <srcType> to <targetType>."
+        ]
+      },
+      "CAST_WITH_CONF_SUGGESTION" : {
+        "message" : [
+          "cannot cast <srcType> to <targetType> with ANSI mode on.",
+          "If you have to cast <srcType> to <targetType>, you can set <config> 
as <configVal>."
+        ]
+      },
+      "CAST_WITH_FUN_SUGGESTION" : {

Review Comment:
   Tell this Rust to programmers ;-)



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