haoch / flink-siddhi

A CEP library to run Siddhi within Apache Flink™ Streaming Application (Not maintained)
Apache License 2.0
243 stars 96 forks source link

CEP output is less than expect #20

Open coder20170628 opened 5 years ago

coder20170628 commented 5 years ago

Hi. I use CEP SQL like every(1) followed by 2. ( every(1)->2 ) The input data like below: 1 1 1 2 And my expect output is: {1,2} {1,2} {1,2}

But the actual output is only: {1,2}

The siddhi stream process's output is match my expect, but the ouput of flink-siddhi is not. Now I'm every confused.

Could you please tell me how to get my expect output ?

coder20170628 commented 5 years ago

It's a bug in siddhi 4.3.0 or higher. Siddhi 4.2.20 works well. I have written this issue in Siddhi.

yangqiangqiang0327 commented 5 years ago

I wonder if you would like to share your code with me. Thank you very much

haoch commented 5 years ago

@coder20170628 @yangqiangqiang0327 any finding about it?

tammypi commented 5 years ago

It's an issue of Siddhi. https://github.com/wso2/siddhi/issues/981.

haoch commented 5 years ago

ok, thanks @tammypi

haoch commented 5 years ago

FWD from https://github.com/wso2/siddhi/issues/981, the issue could be fixed with Siddhi 4.3.10