mirror of
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way.git
synced 2026-01-01 06:35:17 +08:00
select count(1),swb_table from schema where etl_batch_id =current etl_batch_id group by swb_table if count =0 remove the table from the list create groups with non zero data tables parallel bdm run for groups if run success update the parfiles with 'S' status Else update with 'F' status if status for all tables are 'S' JOB completed for the group
9 lines
349 B
Text
9 lines
349 B
Text
select count(1),swb_table from schema where etl_batch_id =current etl_batch_id group by swb_table
|
|
if count =0
|
|
remove the table from the list
|
|
create groups with non zero data tables
|
|
parallel bdm run for groups
|
|
if run success update the parfiles with 'S' status
|
|
Else update with 'F' status
|
|
if status for all tables are 'S'
|
|
JOB completed for the group
|