Hi,

I don't think it makes sense on a transform (as it expects a PCollection). However, why not introducing a specific hook for that.

I think you can workaround using a Pipeline Visitor, but it would be runner 
level.

Regards
JB

On 09/14/2017 08:21 AM, Chaim Turkel wrote:
Hi,
   I have a few scenarios where I would like to have code that is
before the PBegin and after the PDone.
This is usually for monitoring purposes.
It would be nice to be able to transform from PBegin to PBegin, and
PDone to PDone, so that code can be run before and after and not in
the driver program


chaim


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to