Github user kl0u commented on the issue:
https://github.com/apache/flink/pull/3477
Hi @eliaslevy , @dawidwys is right, in fact if the state's name is "a" and
it has 2 matching events, there will be two returned keys "a_0" and "a_1". This
is definitely counterintuitive and the reason it is still there is for
backwards compatibility with previous versions.
I think this should be addressed but I would also suggest to also start a
discussion in the mailing list to see if people are ok with this. Unfortunately
we are not aware if anyone is using the `CEP` library at the moment.
---
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.
---