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:
hemant2356 2024-02-07 12:00:14 +05:30 committed by GitHub
parent 74003843a5
commit ab233c1a6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

9
Python code Normal file
View 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