HeartSaVioR edited a comment on issue #24173: [SPARK-27237][SS] Introduce State 
schema validation among query restart
URL: https://github.com/apache/spark/pull/24173#issuecomment-475420490
 
 
   For now, the verification is done per partition. That sounds really weird 
because schema should be same across partitions, but if we want to do it only 
once for all partitions, we should modify code (maybe some interfaces too, and 
even maybe DSv2?) to let stateful operators report the states with its 
key/value schema. 
   
   So this approach is less optimized and less intuitive, but also pretty less 
intrusive, doesn't touch the current contract and will work well with custom 
state store providers.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to