HeartSaVioR commented on code in PR #37041:
URL: https://github.com/apache/spark/pull/37041#discussion_r911645293
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/StateStore.scala:
##########
@@ -515,7 +515,12 @@ object StateStore extends Logging {
val checker = new StateSchemaCompatibilityChecker(storeProviderId,
hadoopConf)
// regardless of configuration, we check compatibility to at least
write schema file
// if necessary
- val ret = Try(checker.check(keySchema,
valueSchema)).toEither.fold(Some(_), _ => None)
+ // if the format validation for value schema is disabled, we also
disable the schema
Review Comment:
[1a95700](https://github.com/apache/spark/pull/37041/commits/1a95700e6e11eb0d5e4c3ad2ad61492d4b42be4f)
--
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]