简体   繁体   中英

Pentaho Data Integration Define Dependencies

I am using Pentaho Data Integration to create a job where several sql tables are created. Here is the job: 在此处输入图像描述

I would like to create TABLE_D when both TABLE_C and TABLE_B are created, however it seems like first the tables in the first branch are created and then TABLE_D is created, and the job then continues to create TABLE_B.

How can I enforce the creation of TABLE_B AND TABLE_C before TABLE_D?

The way you defined it, TABLE_D is called twice, once after successfully calling TABLE_C, and another when TABLE_B succeeds.

To do what you want you have two options:

  1. Just put them on a single chain: TABLE_A->TABLE_B->TABLE_C->TABLE_D. Sure, it adds another constraint in that TABLE_C is only created after TABLE_B, but does what you need it to.

  2. Put the first 3 statements in a sub job. And the parent job calls TABLE_B after the successul end of the sub-job, which will only happen once.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM