The checkpoint is a snapshot for the job and we can resume the job if the job is killed unexpectedly. The state is another thing to memorize the intermediate result of calculation. I don't think the checkpoint can replace state.
大森林 <appleyu...@foxmail.com> 于2020年10月7日周三 下午12:26写道: > Could you tell me: > > why we need keyed state and operator state when we already have checkpoint? > > when a running jar crash,we can resume from the checkpoint > automatically/manually. > So why did we still need keyed state and operator state. > > Thanks >