ericm-db commented on code in PR #47508:
URL: https://github.com/apache/spark/pull/47508#discussion_r1694484271


##########
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."

Review Comment:
   ```
   
org.apache.spark.sql.execution.streaming.state.StateStoreInvalidConfigAfterRestart:
 [STATE_STORE_INVALID_CONFIG_AFTER_RESTART] timeMode NoTime is not equal to 
ProcessingTime. Please set timeMode to NoTime, or restart with a new checkpoint 
directory. SQLSTATE: 42K06
        at 
org.apache.spark.sql.execution.streaming.state.StateStoreErrors$.invalidConfigChangedAfterRestart(StateStoreErrors.scala:180)
        at 
org.apache.spark.sql.execution.streaming.TransformWithStateOperatorProperties$.validateOperatorProperties(TransformWithStateVariableUtils.scala:113)
        at 
org.apache.spark.sql.execution.streaming.TransformWithStateExec.validateNewMetadata(TransformWithStateExec.scala:477)
        at 
org.apache.spark.sql.execution.streaming.IncrementalExecution$StateSchemaAndOperatorMetadataRule$$anonfun$5.applyOrElse(IncrementalExecution.scala:222)
        at 
org.apache.spark.sql.execution.streaming.IncrementalExecution$StateSchemaAndOperatorMetadataRule$$anonfun$5.applyOrElse(IncrementalExecution.scala:199)
        at 
org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:470)
        at 
org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(origin.scala:84)
   ```



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

Reply via email to