You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2018/10/18 07:24:00 UTC
[jira] [Created] (FLINK-10588) Support reusing same variable in
Pattern
Dawid Wysakowicz created FLINK-10588:
----------------------------------------
Summary: Support reusing same variable in Pattern
Key: FLINK-10588
URL: https://issues.apache.org/jira/browse/FLINK-10588
Project: Flink
Issue Type: Sub-task
Components: CEP, Table API & SQL
Affects Versions: 1.7.0
Reporter: Dawid Wysakowicz
One should be able to use the same variable multiple times in a pattern. So we should allow patterns like (A B A).
CEP library enforces unique names for patterns. A simple workaround to generate artificial unique names won't work in this case because having multiple patterns with same name puts additional constraints on AFTER MATCH SKIP as it skips to LAST/FIRST element of elements assigned to both instances.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)