mirror of
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way.git
synced 2025-12-30 13:25:01 +08:00
Create Python code
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
This commit is contained in:
parent
74003843a5
commit
ab233c1a6d
1 changed files with 9 additions and 0 deletions
9
Python code
Normal file
9
Python code
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue