Having a second look, I think what you are suggesting is just a change to the API, so that should work but it is not there. You could open a Jira to suggest this.
> Am 17.08.2017 um 06:07 schrieb yunfan123 <yunfanfight...@foxmail.com>: > > If I want to update the list. > I have to do two steps: > listState.clear() > for (Element e : myList) { > listState.add(e); > } > > Why not I update the state by: > listState.update(myList) ? > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Why-ListState-of-flink-don-t-support-update-tp14957.html > Sent from the Apache Flink User Mailing List archive. mailing list archive at > Nabble.com.