Skip to content

check ProcessingJobStatus status before deferring SageMakerProcessingOperator - #36658

Merged
phanikumv merged 2 commits into
apache:mainfrom
astronomer:check-sagemaker-processing-job-status-before-deferring
Jan 10, 2024
Merged

check ProcessingJobStatus status before deferring SageMakerProcessingOperator#36658
phanikumv merged 2 commits into
apache:mainfrom
astronomer:check-sagemaker-processing-job-status-before-deferring

Conversation

@Lee-W

@Lee-WLee-W commented Jan 8, 2024

Copy link
Copy Markdown
Member

While running a sagemaker processing job in deferrable mode, the condition might already be met before we defer the task into the trigger. This PR intends to check the job status before deferring the task to trigger.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborgboring-cyborgBot added area:providers provider:amazon AWS/Amazon - related issues labels Jan 8, 2024
@Lee-WLee-W changed the title check sagemaker processing job status before deferringcheck ProcessingJobStatus status before deferring SageMakerProcessingOperatorJan 8, 2024
@Lee-W
Lee-Wforce-pushed the check-sagemaker-processing-job-status-before-deferring branch from cc39d4a to 83261e4CompareJanuary 8, 2024 15:55
@Lee-W

Lee-W commented Jan 9, 2024

Copy link
Copy Markdown
MemberAuthor

The static check failure fix is in #36677

@Lee-W
Lee-Wforce-pushed the check-sagemaker-processing-job-status-before-deferring branch from 83261e4 to 952147aCompareJanuary 10, 2024 00:31
@phanikumv
phanikumv merged commit 5a6f959 into apache:mainJan 10, 2024
@phanikumv
phanikumv deleted the check-sagemaker-processing-job-status-before-deferring branch January 10, 2024 12:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providersprovider:amazonAWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Lee-W@phanikumv