Apache Flink - Exception on left outer join with 'kafka' connector

2022-02-22 Thread M Singh
Hi Folks: I am using 'kafka' connector and joining with data from jdbc source (using connector).   I am using Flink v 1.14.3.  If I do a left outer join between kafka source and jdbc source, and try to save it to another kafka sink using connectors api, I get the following exception: Exception

Re: Streaming left outer join

2016-01-28 Thread Alexander Gryzlov
> where you deal with window states and triggering on time yourself. Let me >>> know if you need some pointers about that one. >>> >>> Cheers, >>> Aljoscha >>> > On 26 Jan 2016, at 19:32, Alexander Gryzlov <alex.gryz...@gmail.com> >>&

Re: Streaming left outer join

2016-01-28 Thread Aljoscha Krettek
native I see to that is to implement everything in a custom operator > where you deal with window states and triggering on time yourself. Let me > know if you need some pointers about that one. > > Cheers, > Aljoscha > > On 26 Jan 2016, at 19:32, Alexander Gryzlov <al

Re: Streaming left outer join

2016-01-27 Thread Stephan Ewen
tates and triggering on time yourself. Let me >> know if you need some pointers about that one. >> >> Cheers, >> Aljoscha >> > On 26 Jan 2016, at 19:32, Alexander Gryzlov <alex.gryz...@gmail.com> >> wrote: >> > >> > Hello, >> > >&g

Re: Streaming left outer join

2016-01-27 Thread Aljoscha Krettek
pointers about that one. Cheers, Aljoscha > On 26 Jan 2016, at 19:32, Alexander Gryzlov <alex.gryz...@gmail.com> wrote: > > Hello, > > I'm trying to implement a left outer join of two Kafka streams within a > sliding window. So far I have the following code: >

Re: Streaming left outer join

2016-01-27 Thread Alexander Gryzlov
time yourself. Let me > know if you need some pointers about that one. > > Cheers, > Aljoscha > > On 26 Jan 2016, at 19:32, Alexander Gryzlov <alex.gryz...@gmail.com> > wrote: > > > > Hello, > > > > I'm trying to implement a left outer join of two

Re: Left outer join

2015-04-17 Thread Till Rohrmann
. On Wed, Apr 15, 2015 at 12:59 PM, Maximilian Michels m...@apache.org wrote: Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm/c2e9c459a9d82c18d789 As Stephan pointed out, this can be very easily modified to construct a Right Outer Join (just exchange

Re: Left outer join

2015-04-17 Thread Flavio Pompermaier
the first call to 'iterator()' will succeed. On Wed, Apr 15, 2015 at 12:59 PM, Maximilian Michels m...@apache.org wrote: Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm/c2e9c459a9d82c18d789 As Stephan pointed out, this can be very easily modified

Re: Left outer join

2015-04-17 Thread Flavio Pompermaier
. On Wed, Apr 15, 2015 at 12:59 PM, Maximilian Michels m...@apache.org wrote: Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm/c2e9c459a9d82c18d789 As Stephan pointed out, this can be very easily modified to construct a Right Outer Join (just exchange

Re: Left outer join

2015-04-17 Thread Fabian Hueske
by: org.apache.flink.util.TraversableOnceException: The Iterable can be iterated over only once. Only the first call to 'iterator()' will succeed. On Wed, Apr 15, 2015 at 12:59 PM, Maximilian Michels m...@apache.org wrote: Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm

Re: Left outer join

2015-04-16 Thread Maximilian Michels
-04-15 5:59 GMT-05:00 Maximilian Michels m...@apache.org: Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm/c2e9c459a9d82c18d789 As Stephan pointed out, this can be very easily modified to construct a Right Outer Join (just exchange leftElements

Re: Left outer join

2015-04-16 Thread Flavio Pompermaier
, 2015 at 12:59 PM, Maximilian Michels m...@apache.org wrote: Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm/c2e9c459a9d82c18d789 As Stephan pointed out, this can be very easily modified to construct a Right Outer Join (just exchange leftElements

Re: Left outer join

2015-04-15 Thread Ufuk Celebi
On 15 Apr 2015, at 10:30, Flavio Pompermaier pomperma...@okkam.it wrote: Hi to all, I have to join two datasets but I'd like to keep all data in the left also if there' no right dataset. How can you achieve that in Flink? maybe I should use coGroup? Yes, currently you have to implement

Re: Left outer join

2015-04-15 Thread Flavio Pompermaier
Do you have an already working example of it? :) On Wed, Apr 15, 2015 at 10:32 AM, Ufuk Celebi u...@apache.org wrote: On 15 Apr 2015, at 10:30, Flavio Pompermaier pomperma...@okkam.it wrote: Hi to all, I have to join two datasets but I'd like to keep all data in the left also if there'

Re: Left outer join

2015-04-15 Thread hagersaleh
please add link to explain left join using cogroup or add example very thanks -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Left-outer-join-tp1031p1034.html Sent from the Apache Flink User Mailing List archive. mailing list archive

Re: Left outer join

2015-04-15 Thread Stephan Ewen
I think this may be a great example to add as a utility function. Or actually add as an function to the DataSet, internally realized as a special case of coGroup. We do not have a ready example of that, but it should be straightforward to realize. Similar as for the join, coGroup on the join

Left outer join

2015-04-15 Thread Flavio Pompermaier
Hi to all, I have to join two datasets but I'd like to keep all data in the left also if there' no right dataset. How can you achieve that in Flink? maybe I should use coGroup? Best, Flavio

Re: Left outer join

2015-04-15 Thread Maximilian Michels
Hi Flavio, Here's an simple example of a Left Outer Join: https://gist.github.com/mxm/c2e9c459a9d82c18d789 As Stephan pointed out, this can be very easily modified to construct a Right Outer Join (just exchange leftElements and rightElements in the two loops). Here's an excerpt with the most