You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "HeartSaVioR (via GitHub)" <gi...@apache.org> on 2023/06/01 22:19:41 UTC

[GitHub] [spark] HeartSaVioR commented on a diff in pull request #41387: [SPARK-42299] Assign name to _LEGACY_ERROR_TEMP_2206

HeartSaVioR commented on code in PR #41387:
URL: https://github.com/apache/spark/pull/41387#discussion_r1213736724


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala:
##########
@@ -2011,7 +2011,7 @@ private[sql] object QueryExecutionErrors extends QueryErrorsBase {
 
   def batchMetadataFileNotFoundError(batchMetadataFile: Path): SparkFileNotFoundException = {
     new SparkFileNotFoundException(
-      errorClass = "_LEGACY_ERROR_TEMP_2206",
+      errorClass = "INTERNAL_ERROR_BATCH",

Review Comment:
   It's user facing exception - this can happen in both sides, engine has a bug or users did the crazy thing (try to adjust the checkpoint), or even some lifecycle policy of the storage (deleted by retention policy, I meant, accidentally).



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