Skip to content

Commit

Permalink
master resolve bug that causes materialization to continue after job …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
james-crabtree-sp committed Oct 25, 2023
1 parent c35b0c1 commit a2c125f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ def _materialize_one(
total_pods,
)
offset += batch_size
if offset >= total_pods:
if (
offset >= total_pods
or job.status() == MaterializationJobStatus.ERROR
):
break
else:
job_id = str(uuid.uuid4())
Expand Down

0 comments on commit a2c125f

Please sign in to comment.