prevent file creation
Posted: Fri Sep 19, 2008 7:55 am
My job has the following format.
Seq File ------ Transformer -----Sequential file.
I put a constraint in transformer to exclude some type of data from source.
Let suppose, if all the data in source is getting rejected by my constraint in the transformer, I don't want the target file to be created.
But what is happening is, target file is anyways getting created with 0 records.
Any solution to fix this issue?
Seq File ------ Transformer -----Sequential file.
I put a constraint in transformer to exclude some type of data from source.
Let suppose, if all the data in source is getting rejected by my constraint in the transformer, I don't want the target file to be created.
But what is happening is, target file is anyways getting created with 0 records.
Any solution to fix this issue?