Github user mushketyk commented on the issue:

    https://github.com/apache/flink/pull/2361
  
    Hi @kl0u,
    
    Sorry for misunderstanding, I still don't understand the problem :)
    Let's select a test and go through it. For example in the test 
`testOneOrMoreCEPPattern` from `CEPComplexPatternsITCase ` there is a pattern 
that has the `oneOrMany` and the `end` statements:
    
    ```java
    .next("middle").oneOrMany().where(
                                new FilterFunction<Event>() {
     
                                        @Override
                                        public boolean filter(Event value) 
throws Exception {
                                                return 
value.getName().equals("middle");
                                        }
                                }
                        )
                        .next("end").where(new FilterFunction<Event>() {
     
                                @Override
                                public boolean filter(Event value) throws 
Exception {
                                        return value.getName().equals("end");
                                }
                        });
    ```
    
    Do you say that if I remove this part: 
    
    ```java
                        .next("end").where(new FilterFunction<Event>() {
     
                                @Override
                                public boolean filter(Event value) throws 
Exception {
                                        return value.getName().equals("end");
                                }
                        });
    ```
    
    the pattern won't work as expected?
    Is this your point?


---
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.
---

Reply via email to