anishshri-db commented on code in PR #47508:
URL: https://github.com/apache/spark/pull/47508#discussion_r1694466441
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3852,12 +3858,24 @@
],
"sqlState" : "42802"
},
+ "STATE_STORE_INVALID_CONFIG_AFTER_RESTART" : {
+ "message" : [
+ "<configName> <oldConfig> is not equal to <newConfig>. Please set
<configName> to <oldConfig>, or restart with a new checkpoint directory."
+ ],
+ "sqlState" : "42K06"
+ },
"STATE_STORE_INVALID_PROVIDER" : {
"message" : [
"The given State Store Provider <inputClass> does not extend
org.apache.spark.sql.execution.streaming.state.StateStoreProvider."
],
"sqlState" : "42K06"
},
+ "STATE_STORE_INVALID_VARIABLE_TYPE_CHANGE" : {
+ "message" : [
+ "Cannot change <stateName> to <newType> between query restarts. Please
set <stateName> to <oldType>, or restart with a new checkpoint directory."
Review Comment:
nit: `stateVarName` ?
--
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]