You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@crunch.apache.org by Kristoffer Sjögren <st...@gmail.com> on 2015/08/18 14:43:07 UTC

Java 8 lambdas

Hi

Are there any plans to provide Java 8 lamdas in Apache Crunch?

Cheers,
-Kristoffer

Re: Java 8 lambdas

Posted by Kristoffer Sjögren <st...@gmail.com>.
I just had a discussion with the people at Apache Flink around Java 8
lambda expression not storing generic type information.

This forces us provide these types manually and I suppose that Crunch
would also benefit from introducing official Java support for
accessing this information?

The flink people had a discussion with the compiler team here at the
beginning of this year [1], which was sort-of rejected (but not
completely). They also provided a patch to eclipse JDT which was
accepted(!) [2].

My thinking is that we may get this through if enough people stand behind?

[1] http://mail.openjdk.java.net/pipermail/compiler-dev/2015-January/009220.html
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=449063

On Tue, Aug 18, 2015 at 2:46 PM, Micah Whitacre <mk...@gmail.com> wrote:
> Yep, that functionality is being tracked here..
> https://issues.apache.org/jira/browse/CRUNCH-538
>
> On Tue, Aug 18, 2015 at 7:43 AM, Kristoffer Sjögren <st...@gmail.com>
> wrote:
>>
>> Hi
>>
>> Are there any plans to provide Java 8 lamdas in Apache Crunch?
>>
>> Cheers,
>> -Kristoffer
>
>

Re: Java 8 lambdas

Posted by Micah Whitacre <mk...@gmail.com>.
Yep, that functionality is being tracked here..
https://issues.apache.org/jira/browse/CRUNCH-538

On Tue, Aug 18, 2015 at 7:43 AM, Kristoffer Sjögren <st...@gmail.com>
wrote:

> Hi
>
> Are there any plans to provide Java 8 lamdas in Apache Crunch?
>
> Cheers,
> -Kristoffer
>