Hi Chaim,

So, you mean you call MongoDBIO.write() with an empty PCollection (no element in the collection) ?

The write is basically a DoFn so, it won't do anything if the PCollection is 
empty.

Regards
JB

On 10/16/2017 01:59 PM, Chaim Turkel wrote:
Hi,
   In the case that there are no records to read, is there a way to get
called so that i can write the status?

chaim


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

Reply via email to