I was looking for some built-in feature, as suggested in the programming guide. However the answer does the job.
Massy Le ven. 7 juin 2019 à 22:13, Kenneth Knowles <k...@apache.org> a écrit : > The answer on StackOverflow looks good to me. > > Kenn > > On Fri, Jun 7, 2019 at 4:11 AM Massy Bourennani <massybourenn...@gmail.com> > wrote: > >> Hi, >> >> here is the SO post: >> >> https://stackoverflow.com/questions/56451796/how-can-i-access-the-key-in-subclass-of-combinerfn-when-combining-a-pcollection >> >> Many thanks >> >