Disable Link in runtime
Posted: Wed Apr 30, 2014 10:15 am
Hi All,
I was stuck in one of the job design and i had to split the job to serve the purpose. The initial design was as below.
Seqfile
|
|
\/
Transformer ----> Dataset
|
|
\/
Teradata Connector
Dataset - Overwrite
Teradata stage - Table is recreated
RCP is enabled in all stages.
In Trasformer stage i have given a flag to direct the records either to dataset or Teradata table. At any point of time, the records can traverse only in either of the link.
If the records are populating to the Teradata table, i'd like to disable the dataset link and i do not want the dataset to be created with 0 records. Similarily when the records are created in the dataset i do not want the Teradata link to be enabled and table should not be recreated.
At this point of time i had split the job into two. But, I'd like to know if above is achievable?
Note: I could not fine any related post in the forum. Please help me to refer if exist any.
Thanks
I was stuck in one of the job design and i had to split the job to serve the purpose. The initial design was as below.
Seqfile
|
|
\/
Transformer ----> Dataset
|
|
\/
Teradata Connector
Dataset - Overwrite
Teradata stage - Table is recreated
RCP is enabled in all stages.
In Trasformer stage i have given a flag to direct the records either to dataset or Teradata table. At any point of time, the records can traverse only in either of the link.
If the records are populating to the Teradata table, i'd like to disable the dataset link and i do not want the dataset to be created with 0 records. Similarily when the records are created in the dataset i do not want the Teradata link to be enabled and table should not be recreated.
At this point of time i had split the job into two. But, I'd like to know if above is achievable?
Note: I could not fine any related post in the forum. Please help me to refer if exist any.
Thanks