Re: Java 8 lambdas for CEP patterns won't compile

2017-07-06 Thread David Koch
Thank you! Hoping to see Lambda support added back in soon as well. Regards, David On Mon, Jun 12, 2017 at 1:57 PM, Kostas Kloudas wrote: > Done. > > On Jun 12, 2017, at 12:24 PM, Ted Yu wrote: > > Can you add link to this thread in the JIRA

Re: Java 8 lambdas for CEP patterns won't compile

2017-06-12 Thread Kostas Kloudas
Done. > On Jun 12, 2017, at 12:24 PM, Ted Yu wrote: > > Can you add link to this thread in the JIRA ? > > Cheers > > On Mon, Jun 12, 2017 at 3:15 AM, Kostas Kloudas > wrote: > Unfortunately, there was no

Re: Java 8 lambdas for CEP patterns won't compile

2017-06-12 Thread Ted Yu
Can you add link to this thread in the JIRA ? Cheers On Mon, Jun 12, 2017 at 3:15 AM, Kostas Kloudas wrote: > Unfortunately, there was no discussion as this regression came as an > artifact of the addition of the IterativeConditions, but it will be fixed. > > This

Re: Java 8 lambdas for CEP patterns won't compile

2017-06-12 Thread Ted Yu
Do know which JIRA / discussion thread had the context for this decision ? I did a quick search in JIRA but only found FLINK-3681. Cheers On Mon, Jun 12, 2017 at 1:48 AM, Kostas Kloudas wrote: > Hi David and Ted, > > The documentation is outdated. I will update

Re: Java 8 lambdas for CEP patterns won't compile

2017-06-11 Thread Ted Yu
Looking at docs/dev/libs/cep.md , there're 3 examples using lambda. Here is one: Pattern pattern = Pattern.begin("start").where(evt -> evt.getId() == 42) Your syntax should be supported. I haven't found such example in test code, though. FYI On Sun, Jun 11, 2017 at 2:42 PM, David