Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-19 Thread Stephan Ewen
kirschn...@tu-berlin.de> wrote: >>>>>>> >>>>>>> Hi Stephan, >>>>>>> >>>>>>> looking at the TypeHint, I got reminded on how Gson (a Json Parser) >>>>>>> handles this situation of parsing generics.

Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-19 Thread Timo Walther
il.com] Im Auftrag von Stephan Ewen Gesendet: Mittwoch, 11. November 2015 15:53 An: dev@flink.apache.org Betreff: [DISCUSSION] Type hints versus TypeInfoParser Hi all! We discovered a nice way to give TypeHints in the Google Cloud Dataflow SDK, in a way that would fit Flink perfectly. I created a JIR

Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-18 Thread Stephan Ewen
izing-Generic-Types >>>>> >>>>> Seems like this method was rediscovered :) And maybe there are some >>>>> tricks that can be learned from the implementation >>>>> >>>>> I'm all in favor for "hard&quo

Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-18 Thread Timo Walther
ypes over string literals. Johannes P.S. Apparently GWT uses the same "trick" to handle generics ... -Ursprüngliche Nachricht- Von: ewenstep...@gmail.com [mailto:ewenstep...@gmail.com] Im Auftrag von Stephan Ewen Gesendet: Mittwoch, 11. November 2015 15:53 An: dev@flink.apache.or

Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-18 Thread Stephan Ewen
And maybe there are some >>> tricks that can be learned from the implementation >>> >>> I'm all in favor for "hard" types over string literals. >>> >>> Johannes >>> >>> P.S. >>> Apparently GWT uses the same "trick" to handle gener

Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-11 Thread Timo Walther
t; types over string literals. Johannes P.S. Apparently GWT uses the same "trick" to handle generics ... -Ursprüngliche Nachricht- Von: ewenstep...@gmail.com [mailto:ewenstep...@gmail.com] Im Auftrag von Stephan Ewen Gesendet: Mittwoch, 11. November 2015 15:53 An: dev@flink.

Re: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-11 Thread Aljoscha Krettek
ard" types over string literals. > > Johannes > > P.S. > Apparently GWT uses the same "trick" to handle generics ... > > -Ursprüngliche Nachricht- > Von: ewenstep...@gmail.com [mailto:ewenstep...@gmail.com] Im Auftrag von > Stephan Ewen > Gesen

AW: [DISCUSSION] Type hints versus TypeInfoParser

2015-11-11 Thread Kirschnick, Johannes
lto:ewenstep...@gmail.com] Im Auftrag von Stephan Ewen Gesendet: Mittwoch, 11. November 2015 15:53 An: dev@flink.apache.org Betreff: [DISCUSSION] Type hints versus TypeInfoParser Hi all! We discovered a nice way to give TypeHints in the Google Cloud Dataflow SDK, in a way that would fit Flink pe

[DISCUSSION] Type hints versus TypeInfoParser

2015-11-11 Thread Stephan Ewen
Hi all! We discovered a nice way to give TypeHints in the Google Cloud Dataflow SDK, in a way that would fit Flink perfectly. I created a JIRA for that: https://issues.apache.org/jira/browse/FLINK-2788 Since this is more powerful and type safe than the String/Parser way of giving hints, I was won