karenfeng commented on a change in pull request #34093: URL: https://github.com/apache/spark/pull/34093#discussion_r720417700
########## File path: core/src/main/resources/error/error-classes.json ########## @@ -39,9 +53,32 @@ "message" : [ "Found duplicate keys '%s'" ], "sqlState" : "23000" }, + "END_OF_STREAM" : { + "message" : [ "End of stream" ] + }, + "FAILED_CAST_VALUE_TO_DATATYPE_FOR_PARTITION_COLUMN" : { + "message" : [ "Failed to cast value `%s` to `%s` for partition column `%s`" ], + "sqlState" : "22023" + }, "FAILED_EXECUTE_UDF" : { "message" : [ "Failed to execute user defined function (%s: (%s) => %s)" ] }, + "FAILED_FALLBACK_V1_BECAUSE_OF_INCONSISTENT_SCHEMA" : { + "message" : [ "The fallback v1 relation reports inconsistent schema:", "Schema of v2 scan: %s", "Schema of v1 relation: %s" ], + "sqlState" : "22023" + }, + "FAILED_FIND_DATA_SOURCE" : { + "message" : [ "Failed to find data source: %s. Please find packages at http://spark.apache.org/third-party-projects.html" ] + }, + "FAILED_FORMAT_DATETIME_IN_NEW_FORMATTER" : { Review comment: Alternately, rather than provide the explicit Spark version in the class name, they can all unify as `_AFTER_UPGRADE` -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org