Flink CEP support pattern match involving fields of previous events

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink CEP support pattern match involving fields of previous events

Spico Florin

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()"
  
and 

If, yes which version support this feature and what is the API syntax?

Thanks.

Florin
Reply | Threaded
Open this post in threaded view
|

Re: Flink CEP support pattern match involving fields of previous events

Dawid Wysakowicz-2

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()"
  
and 

If, yes which version support this feature and what is the API syntax?

Thanks.

Florin

signature.asc (849 bytes) Download Attachment