You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/08/23 19:20:11 UTC

[GitHub] [spark] MaxGekk commented on a diff in pull request #33538: [SPARK-36107][SQL] Refactor first set of 20 query execution errors to use error classes

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


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -3,6 +3,31 @@
     "message" : [ "Field name %s is ambiguous and has %s matching fields in the struct." ],
     "sqlState" : "42000"
   },
+  "CANNOT_CAST_DATATYPE" : {

Review Comment:
   Any ideas how to trigger this error class? I haven't found any ways how trigger it from user code. WDYT? @cloud-fan @HyukjinKwon 



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