Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
fix IndexError: tuple index out of range
Browse files Browse the repository at this point in the history
Signed-off-by: abimichel <[email protected]>
  • Loading branch information
abimichel authored Feb 14, 2024
1 parent 9510ee4 commit dc72b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_replication_parametrized_audit_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def load_data_from_src_tgt(table_name,source_schema,target_schema,customsql_ind,
# Main ETL process
active_tables_rows =get_active_tables(mstr_schema,app_name)
#print(active_tables_rows)
tables_to_extract = [(row[2],row[1],row[3],row[10],row[11]) for row in active_tables_rows]
tables_to_extract = [(row[2],row[1],row[3],row[9],row[10]) for row in active_tables_rows]

print(f"tables to extract are {tables_to_extract}")
print(f'No of concurrent tasks:{concurrent_tasks}')
Expand Down

0 comments on commit dc72b2a

Please sign in to comment.