chaoqin-li1123 commented on code in PR #47616: URL: https://github.com/apache/spark/pull/47616#discussion_r1704482755
########## sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala: ########## @@ -2608,6 +2608,30 @@ private[sql] object QueryExecutionErrors extends QueryErrorsBase with ExecutionE cause = null) } + def invalidChangeLogReaderVersion(version: Long): Throwable = { + new SparkException( + errorClass = "CANNOT_LOAD_STATE_STORE.INVALID_CHANGE_LOG_READER_VERSION", + messageParameters = Map("version" -> version.toString), + cause = null + ) + } + + def invalidChangeLogWriterVersion(version: Long): Throwable = { + new SparkException( + errorClass = "CANNOT_LOAD_STATE_STORE.INVALID_CHANGE_LOG_WRITER_VERSION", + messageParameters = Map("version" -> version.toString), + cause = null + ) + } + + def outOfMemory(stateStoreId: String, e: Throwable): Throwable = { Review Comment: This name is too general. Can you refer to other out of memory error in the same file? -- 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