[ 
https://issues.apache.org/jira/browse/FLINK-7293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110556#comment-16110556
 ] 

ASF GitHub Bot commented on FLINK-7293:
---------------------------------------

Github user dawidwys commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4418#discussion_r130564730
  
    --- Diff: 
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/CEP.java ---
    @@ -38,4 +40,17 @@
        public static <T> PatternStream<T> pattern(DataStream<T> input, 
Pattern<T, ?> pattern) {
                return new PatternStream<>(input, pattern);
        }
    +
    +   /**
    +    * Creates a {@link PatternStream} from an input data stream and a 
pattern.
    +    *
    +    * @param input DataStream containing the input events
    +    * @param pattern Pattern specification which shall be detected
    +    * @param comparator Comparator to sort events
    --- End diff --
    
    could you describe in the doc when the operator is applied.


> Support custom order by in PatternStream
> ----------------------------------------
>
>                 Key: FLINK-7293
>                 URL: https://issues.apache.org/jira/browse/FLINK-7293
>             Project: Flink
>          Issue Type: Sub-task
>          Components: CEP
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>
> Currently, when {{ProcessingTime}} is configured, the events are fed to NFA 
> in the order of the arriving time and when {{EventTime}} is configured, the 
> events are fed to NFA in the order of the event time. It should also allow 
> custom {{order by}} to allow users to define the order of the events besides 
> the above factors.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to