org.apache.spark.sql.execution.streaming.state.StateStore
Runs the task periodically and automatically cancels it if there is an exception. onError will be called when an exception happens.
task
onError
Runs the
taskperiodically and automatically cancels it if there is an exception.onErrorwill be called when an exception happens.