-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Auto-incrementing Transform job name in SageMakerTransformOperator #25263
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
Rebased to account for Werkzeug issue |
@ferruzzi @vincbeck @o-nikolas ? Can you take a look please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like basically a copy/paste of the same feature in the SageMakerTrainingOperator, yeah?
@@ -419,6 +426,8 @@ def __init__( | |||
self.wait_for_completion = wait_for_completion | |||
self.check_interval = check_interval | |||
self.max_ingestion_time = max_ingestion_time | |||
self.check_if_job_exists = check_if_job_exists | |||
self.action_if_job_exists = action_if_job_exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a check here to make sure the value is something you support. See the same feature on L658
@ferruzzi yes the logic is the same. I'll make a suggestion with a generic method for this inside SageMakerBaseOperator |
Yup, cool. Once you make that change I suggested, I'm good to go. |
@ferruzzi are you ok with the changes ? I added your suggestion 👍 thanks again for the review |
Yeah, I'm good to go, but I am not a committer so you'll need to catch their attention to gt this merged in. @potiuk ? |
Awesome work, congrats on your first merged pull request! |
Thanks! |
Add an option to check if transform job name already exists in SageMakerTransformOperator and increment it if it happen
closes: #21941