OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-9507) Introduce ReduceFunction to CEP to minor the cost for IterativeCondition


aitozi created FLINK-9507:
-----------------------------

             Summary: Introduce ReduceFunction to CEP to minor the cost for IterativeCondition
                 Key: FLINK-9507
                 URL: https://issues.apache.org/jira/browse/FLINK-9507
             Project: Flink
          Issue Type: Improvement
          Components: CEP
    Affects Versions: 1.5.0
            Reporter: aitozi
            Assignee: aitozi
             Fix For: 1.6.0


When we use the cep to describe a condition about the events that has been matched, we have to call the method  {code:java}getEventsForPattern{code} to extract the partly matched elements from the sharedBuffer in RocksDB, which is very cost, I think we can introduce a ReduceFunction on the pattern desc to allow us to aggregate the value  in advance.  Is this practical ? What's your guys opinion? [~kkl0u] [~dawidwys]




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)