You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Spico Florin <sp...@gmail.com> on 2018/12/03 15:34:41 UTC
Flink CEP support pattern match involving fields of previous events
Hello!
I would like to ask you if you have added the support for CEP for match
involving fields of previous events, the same that was asked here:
"However it would be great to create Pattern out of a capability like:
.where(second_evt->evt.getTemperature()
== first_evt->evt.getTemperature()"
https://stackoverflow.com/questions/42065388/when-might-flink-support-pattern-match-involving-fields-of-previous-events
and
https://stackoverflow.com/questions/38770195/apache-flink-cep-detect-same-events
If, yes which version support this feature and what is the API syntax?
Thanks.
Florin
Re: Flink CEP support pattern match involving fields of previous
events
Posted by Dawid Wysakowicz <dw...@apache.org>.
Hi Florin,
This feature is supported with IterativeCondition since 1.3.0. For
questions about API and what features are supported in general please
always have a look into documentation[1] first.
Best,
Dawid
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.7/dev/libs/cep.html
On 03/12/2018 16:34, Spico Florin wrote:
>
> Hello!
>
> I would like to ask you if you have added the support for CEP
> for match involving fields of previous events, the same that was
> asked here:
>
> "However it would be great to create Pattern out of a capability
> like: |.where(second_evt->evt.getTemperature() ==
> first_evt->evt.getTemperature()"|
>
> https://stackoverflow.com/questions/42065388/when-might-flink-support-pattern-match-involving-fields-of-previous-events
> and
> https://stackoverflow.com/questions/38770195/apache-flink-cep-detect-same-events
>
> If, yes which version support this feature and what is the API syntax?
>
> Thanks.
>
> Florin