Re: CEP operator in SQL pattern match does not clear it's state

2019-10-04 Thread Theo Diefenthal
e watermarks properly assigned with a boundedTimestampExtractor or ascendingTimestampExtractor? Best regards Theo Von: "Muhammad Hakim" An: "user" Gesendet: Dienstag, 1. Oktober 2019 09:08:22 Betreff: CEP operator in SQL pattern match does not clear it's state

Re: CEP operator in SQL pattern match does not clear it's state

2019-10-01 Thread Dawid Wysakowicz
Hi, Could you give a bit more details about your program? What is the query you are using? What is the incoming data? The "within" clause ensures that all partial matches that were initiated at time t, are cleared when an event with timestamp (t + w) appears, where w is the interval specified in

CEP operator in SQL pattern match does not clear it's state

2019-10-01 Thread Muhammad Hakim
Hi All, We've been experimenting with `MATCH_RECOGNIZE` clause on Flink 1.8. We tried to have a pattern match within one hour. According to https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/streaming/match_recognize.html#time-constraint , using `WITHIN` will control the memory usage.