Yes. The retract message will be generated first, then the new result. lec ssmi <shicheng31...@gmail.com> 于2020年5月18日周一 下午3:00写道:
> Hi: > When encountering Retract, there was a following sql : > *select count(1) count, word group by word* > > Suppose the current aggregation result is : > * 'hello'->3* > When there is record to come again, the count of 'hello' will be changed > to 4. > The following two records will be generated in the stream: > > [-] 'hello'-> 3 //UPDATE_BEFORE > [+] 'hello'->4 //UPDATE_AFTER > > Can these two records guarantee the order?Must the old result be deleted > first and then the new result inserted? > > > > > > -- Benchao Li School of Electronics Engineering and Computer Science, Peking University Tel:+86-15650713730 Email: libenc...@gmail.com; libenc...@pku.edu.cn