flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Walther <twal...@apache.org>
Subject Re: Type of TypeVariable 'K' in 'class <> could not be determined
Date Fri, 18 Nov 2016 09:25:12 GMT
I think I identified the problem. Input type inference can not be used 
because of missing information.

@Vasia: Why is the TypeExtractor in Graph. mapVertices(mapper) called 
without information about the input type? Isn't the input of the 
MapFunction known at this point? ( vertices.getType())

Am 17/11/16 um 20:24 schrieb otherwise777:
> The one that's currently in my github will give you the error,
> In my other file i made a really ugly workaround by adding the element in an
> ArrayList<K> as a single item.
> --
> View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Type-of-TypeVariable-K-in-class-could-not-be-determined-tp10173p10184.html
> Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

View raw message