Skip to content

Commit

Permalink
do not complete package if failed jobs are present
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Jul 2, 2024
1 parent c516fbc commit 0a9b5c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dlt/load/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ def load_single_package(self, load_id: str, schema: Schema) -> None:
if (
len(self.load_storage.list_new_jobs(load_id)) == 0
and len(self.load_storage.normalized_packages.list_started_jobs(load_id)) == 0
and len(self.load_storage.normalized_packages.list_failed_jobs(load_id)) == 0
):
self.complete_package(load_id, schema, False)

Expand Down

0 comments on commit 0a9b5c3

Please sign in to comment.