Re: Split Streams not working

2017-08-01 Thread Aljoscha Krettek
Hi, In your original program, the problem is that there is both an ERROR and SUCCESS event in your List. Thus you add both "success" and "error" to the list of split outputs. To discern between those different types you first have to flatten that DataStream> into a DataStream using a flatMap().

Re: Split Streams not working

2017-07-24 Thread Kien Truong
Hi, I meant adding a select function between the two consecutive select. Or if you use Flink 1.3, you can use the new side output functionality. Regards, Kien On 7/25/2017 7:54 AM, Kien Truong wrote: Hi, I think you're hitting this bug https://issues.apache.org/jira/browse/FLINK-5031 Try

Re: Split Streams not working

2017-07-24 Thread Kien Truong
Hi, I think you're hitting this bug https://issues.apache.org/jira/browse/FLINK-5031 Try the workaround mentioned in a bug: add a map function between map and select Regards, Kien On 7/25/2017 3:14 AM, smandrell wrote: Basically, we are not splitting the streams correctly because when we t