Github user dawidwys commented on the issue: https://github.com/apache/flink/pull/4145 @dianfu I agree that we should consider removing states from serialization, but I have some concerns about it: 1. `State`s are part of `ComputationState`s which describe partial matches, which means they are definitely not metadata. If we do not want to store `State`s, I think we will be forced to either drop checkpointing of partial matches or implement logic of translating them to newly constructed graph of states, which I think would be hard if possible at all. 2. One feature I would like to see in FlinkCEP library is dynamically providing new Patterns(e.g. through Side Inputs), I think in this case `State`s serializing will be crucial.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---