flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Hueske <fhue...@gmail.com>
Subject Re: Merge or minus Dataset API missing
Date Fri, 12 Feb 2016 16:11:16 GMT
Hi Flavio,

If I got it right, you can use a FullOuterJoin.
It will give you both elements on a match and otherwise a left or a right
element and null.

Best, Fabian

2016-02-12 16:48 GMT+01:00 Flavio Pompermaier <pompermaier@okkam.it>:

> Hi to all,
>
> I have a use case where I have to merge 2 datasets but I can't find a
> direct dataset API to do that.
> I want to execute some function when there's a match, otherwise move on
> the not-null element.
> At the moment I can do this in a fairly complicated way (I want to avoid
> broadcasting because the dataset could be big): using 2 leftOuterJoin plus
> a union. Is there a simpler way?
>
>
> Best,
> Flavio
>

Mime
View raw message