mxuan0 opened a new issue, #39502:
URL: https://github.com/apache/airflow/issues/39502

   ### Apache Airflow Provider(s)
   
   amazon
   
   ### Versions of Apache Airflow Providers
   
   8.7.1
   
   ### Apache Airflow version
   
   2.7.2
   
   ### Operating System
   
   amazon linux AMI
   
   ### Deployment
   
   Amazon (AWS) MWAA
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   The SageMakerTransformOperator deduplicates job name before creating the 
job, but does not deduplicate the model name before creating the model. Upon 
retry, the operator would fail due to model already exist error.
   
   ### What you think should happen instead
   
   The operator should apply the same behavior (fail or add timestamp) to both 
the job name and the model name.
   
   ### How to reproduce
   
   create a DAG containing a SageMakerTransformOperator step. In the operator 
config, fix both ModelName and TransformJobName. In airflow UI, run the task 
until completion in airflow once, and the run the same task for the second time 
by "clear task".
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to