Github user gyfora commented on the pull request:
https://github.com/apache/flink/pull/1347#issuecomment-156098004
I am wondering whether in this form the ListState is a useful abstraction
to have.
It has a very forgiving definition of a list: It only supports adding
values (ever growing) and no removing or any other List operation that I think
would be just as common.
Also I think other collection types such as Sets and Maps are similarly
common and those are not covered by this.
Maybe a better approach would be to make a very generic collection state
type that supports all the different operations which could then be used to
implement ListState, SetState, MapState etc.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---