Re: Flink DataStream and KeyBy

2016-01-14 Thread Aljoscha Krettek
; between the type of the data in the DataStream and the way the key is > defined at runtime. > > Hope this helps! > > Cheers, > Gordon > > > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble

Re: Flink DataStream and KeyBy

2016-01-13 Thread Tzu-Li (Gordon) Tai
in the DataStream and the way the key is defined at runtime. Hope this helps! Cheers, Gordon -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-DataStream-and-KeyBy-tp4271p4272.html Sent from the Apache Flink User Mailing List archive

Flink DataStream and KeyBy

2016-01-13 Thread Saiph Kappa
Hi, This line «stream.keyBy(0)» only works if stream is of type DataStream[Tuple] - and this Tuple is not a scala tuple but a flink tuple (why not to use scala Tuple?). Currently keyBy can be applied to anything (at least in scala) like DataStream[String] and DataStream[Array[String]]. Can