You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by M Singh <ma...@yahoo.com> on 2019/04/12 20:40:43 UTC
Apache Flink - CEP vs SQL detecting patterns
Hi:
I am looking at the documentation of the CEP and there is way to access patterns which have timeout. But I could not find similar capability in the Table and SQL interface detecting patterns. I am assuming that the CEP interface is more comprehensive and complete than the SQL/Table interface.
Please let me know if I have missed anything.
Thanks
Mans
Re: Apache Flink - CEP vs SQL detecting patterns
Posted by Dawid Wysakowicz <dw...@apache.org>.
Hi,
Unfortunately those are just ignored. The timed out partial matches are
not emitted.
Best,
Dawid
On 20/04/2019 19:49, M Singh wrote:
> Dawid:
>
> So, what happens when there is a timeout - is there any value/field in
> the resulting data stream that indicates that this was a timeout ?
>
> Thanks
>
> On Tuesday, April 16, 2019, 10:12:58 AM EDT, Dawid Wysakowicz
> <dw...@apache.org> wrote:
>
>
> Hi Mans,
>
> Yes you are right. That feature is not available in SQL, as there is
> no such feature in SQL standard. The only addition to SQL standard we
> introduce so far is the WITHIN clause. We might introduce the timed
> out patterns some time in the future, but personally I am not aware of
> such plans.
>
> Best,
>
> Dawid
>
> On 12/04/2019 22:40, M Singh wrote:
> Hi:
>
> I am looking at the documentation of the CEP and there is way to
> access patterns which have timeout. But I could not find similar
> capability in the Table and SQL interface detecting patterns. I am
> assuming that the CEP interface is more comprehensive and complete
> than the SQL/Table interface.
>
> Please let me know if I have missed anything.
>
> Thanks
>
> Mans
Re: Apache Flink - CEP vs SQL detecting patterns
Posted by M Singh <ma...@yahoo.com>.
Dawid:
So, what happens when there is a timeout - is there any value/field in the resulting data stream that indicates that this was a timeout ?
Thanks
On Tuesday, April 16, 2019, 10:12:58 AM EDT, Dawid Wysakowicz <dw...@apache.org> wrote:
Hi Mans,
Yes you are right. That feature is not available in SQL, as there is no such feature in SQL standard. The only addition to SQL standard we introduce so far is the WITHIN clause. We might introduce the timed out patterns some time in the future, but personally I am not aware of such plans.
Best,
Dawid
On 12/04/2019 22:40, M Singh wrote:
Hi:
I am looking at the documentation of the CEP and there is way to access patterns which have timeout. But I could not find similar capability in the Table and SQL interface detecting patterns. I am assuming that the CEP interface is more comprehensive and complete than the SQL/Table interface.
Please let me know if I have missed anything.
Thanks
Mans
Re: Apache Flink - CEP vs SQL detecting patterns
Posted by Dawid Wysakowicz <dw...@apache.org>.
Hi Mans,
Yes you are right. That feature is not available in SQL, as there is no
such feature in SQL standard. The only addition to SQL standard we
introduce so far is the WITHIN clause. We might introduce the timed out
patterns some time in the future, but personally I am not aware of such
plans.
Best,
Dawid
On 12/04/2019 22:40, M Singh wrote:
> Hi:
>
> I am looking at the documentation of the CEP and there is way to
> access patterns which have timeout. But I could not find similar
> capability in the Table and SQL interface detecting patterns. I am
> assuming that the CEP interface is more comprehensive and complete
> than the SQL/Table interface.
>
> Please let me know if I have missed anything.
>
> Thanks
>
> Mans