ericm-db commented on code in PR #49277:
URL: https://github.com/apache/spark/pull/49277#discussion_r1914328843
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -4460,6 +4460,14 @@
],
"sqlState" : "42K06"
},
+ "STATE_STORE_INVALID_VALUE_SCHEMA_EVOLUTION" : {
+ "message" : [
+ "Schema evolution is not possible new value_schema=<newValueSchema>.",
Review Comment:
```
[info] Cause:
org.apache.spark.sql.execution.streaming.state.StateStoreInvalidValueSchemaEvolution:
[STATE_STORE_INVALID_VALUE_SCHEMA_EVOLUTION] Schema evolution is not possible
new value_schema=StructType(StructField(value,IntegerType,false)).
[info] Avro Error Message: Unable to read schema:
[info] {
[info] "type" : "record",
[info] "name" : "topLevelRecord",
[info] "fields" : [ {
[info] "name" : "value",
[info] "type" : [ "null", "long" ],
[info] "default" : null
[info] } ]
[info] }
[info] using schema:
[info] {
[info] "type" : "record",
[info] "name" : "topLevelRecord",
[info] "fields" : [ {
[info] "name" : "value",
[info] "type" : [ "null", "int" ],
[info] "default" : null
[info] } ]
[info] }
```
--
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]