Re: Question about TypeInformation in DataSet

2015-08-21 Thread Stephan Ewen
Seems fair. This should not immediately fail, but also only give a "MissingTypeInfo" so that type hints would work. The error message is also wrong, btw: It should state that raw types are not supported. On Fri, Aug 21, 2015 at 1:02 PM, Matthias J. Sax < mj...@informatik.hu-berlin.de> wrote: > H

Question about TypeInformation in DataSet

2015-08-21 Thread Matthias J. Sax
Hi, I changed the WordCount example as below and I am wondering, why this does not work. Looking at the Flink internal implemenation, it make sense that it fails. However, from an API point of view it should work. Is this a bug or do I miss understand the semantic of .returns(...)? The change is