You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Ankur Goenka <go...@google.com> on 2019/05/03 22:56:27 UTC

Kotlin iterator error

Hi,

A beam user on stackoverflow has posted issue while using kotlin sdk.
https://stackoverflow.com/questions/55908999/kotlin-iterable-not-supported-in-apache-beam/55911859#55911859
I am not very familiar with kotlin so can someone please take a look.

Thanks,
Ankur

Re: Kotlin iterator error

Posted by Kenneth Knowles <ke...@apache.org>.
Replied on the Jira.

*From: *Reuven Lax <re...@google.com>
*Date: *Wed, May 8, 2019 at 1:11 PM
*To: *dev

Does Kotlin have a different Iterable than the standard Java one?
>
> On Wed, May 8, 2019 at 10:47 AM Kenneth Knowles <ke...@apache.org> wrote:
>
>> Filed https://issues.apache.org/jira/browse/BEAM-7247 and assigned
>> initially to +Reuven Lax <re...@google.com> who is knowledgeable about
>> the @Element annotation and analysis.
>>
>> Kenn
>>
>> On Wed, May 8, 2019 at 2:40 AM Maximilian Michels <mx...@apache.org> wrote:
>>
>>> Hi Ankur,
>>>
>>> I've left a comment. Looking at the stack trace [1], this looks like a
>>> problem with our Reflection analysis.
>>>
>>> -Max
>>>
>>> [1]
>>>
>>> https://gist.github.com/marcoslin/e1e19afdbacac9757f6974592cfd8d7f#file-stack-trace-txt
>>>
>>> On 04.05.19 00:56, Ankur Goenka wrote:
>>> > Hi,
>>> >
>>> > A beam user on stackoverflow has posted issue while using kotlin sdk.
>>> >
>>> https://stackoverflow.com/questions/55908999/kotlin-iterable-not-supported-in-apache-beam/55911859#55911859
>>> > I am not very familiar with kotlin so can someone please take a look.
>>> >
>>> > Thanks,
>>> > Ankur
>>>
>>

Re: Kotlin iterator error

Posted by Reuven Lax <re...@google.com>.
Does Kotlin have a different Iterable than the standard Java one?

On Wed, May 8, 2019 at 10:47 AM Kenneth Knowles <ke...@apache.org> wrote:

> Filed https://issues.apache.org/jira/browse/BEAM-7247 and assigned
> initially to +Reuven Lax <re...@google.com> who is knowledgeable about
> the @Element annotation and analysis.
>
> Kenn
>
> On Wed, May 8, 2019 at 2:40 AM Maximilian Michels <mx...@apache.org> wrote:
>
>> Hi Ankur,
>>
>> I've left a comment. Looking at the stack trace [1], this looks like a
>> problem with our Reflection analysis.
>>
>> -Max
>>
>> [1]
>>
>> https://gist.github.com/marcoslin/e1e19afdbacac9757f6974592cfd8d7f#file-stack-trace-txt
>>
>> On 04.05.19 00:56, Ankur Goenka wrote:
>> > Hi,
>> >
>> > A beam user on stackoverflow has posted issue while using kotlin sdk.
>> >
>> https://stackoverflow.com/questions/55908999/kotlin-iterable-not-supported-in-apache-beam/55911859#55911859
>> > I am not very familiar with kotlin so can someone please take a look.
>> >
>> > Thanks,
>> > Ankur
>>
>

Re: Kotlin iterator error

Posted by Kenneth Knowles <ke...@apache.org>.
Filed https://issues.apache.org/jira/browse/BEAM-7247 and assigned
initially to +Reuven Lax <re...@google.com> who is knowledgeable about
the @Element annotation and analysis.

Kenn

On Wed, May 8, 2019 at 2:40 AM Maximilian Michels <mx...@apache.org> wrote:

> Hi Ankur,
>
> I've left a comment. Looking at the stack trace [1], this looks like a
> problem with our Reflection analysis.
>
> -Max
>
> [1]
>
> https://gist.github.com/marcoslin/e1e19afdbacac9757f6974592cfd8d7f#file-stack-trace-txt
>
> On 04.05.19 00:56, Ankur Goenka wrote:
> > Hi,
> >
> > A beam user on stackoverflow has posted issue while using kotlin sdk.
> >
> https://stackoverflow.com/questions/55908999/kotlin-iterable-not-supported-in-apache-beam/55911859#55911859
> > I am not very familiar with kotlin so can someone please take a look.
> >
> > Thanks,
> > Ankur
>

Re: Kotlin iterator error

Posted by Maximilian Michels <mx...@apache.org>.
Hi Ankur,

I've left a comment. Looking at the stack trace [1], this looks like a 
problem with our Reflection analysis.

-Max

[1] 
https://gist.github.com/marcoslin/e1e19afdbacac9757f6974592cfd8d7f#file-stack-trace-txt

On 04.05.19 00:56, Ankur Goenka wrote:
> Hi,
> 
> A beam user on stackoverflow has posted issue while using kotlin sdk.
> https://stackoverflow.com/questions/55908999/kotlin-iterable-not-supported-in-apache-beam/55911859#55911859
> I am not very familiar with kotlin so can someone please take a look.
> 
> Thanks,
> Ankur