Re: State access in RichAsyncFunction

2018-10-21 Thread shimin yang
Thanks, Till. Best Shimin Till Rohrmann 于2018年10月19日周五 下午4:22写道: > The problem is that `RichAsyncFunction` is allowed to trigger an > asynchronous operation which can keep a reference to the `RuntimeContext`. > However, it is not guaranteed when this operation is actually executed. Due > to thi

Re: State access in RichAsyncFunction

2018-10-19 Thread Till Rohrmann
The problem is that `RichAsyncFunction` is allowed to trigger an asynchronous operation which can keep a reference to the `RuntimeContext`. However, it is not guaranteed when this operation is actually executed. Due to this, the underlying key could have changed, thus, accessing state which can bel

State access in RichAsyncFunction

2018-10-18 Thread shimin yang
Hi all, Regarding to the RichAsyncFunction, why we cannot access the state through runtime context like other operators? Best, Shimin Yang