Aalron opened a new issue, #4213: URL: https://github.com/apache/streampark/issues/4213
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### Java Version jdk1.8 ### Scala Version 2.12.x ### StreamPark Version 2.1.5 ### Flink Version 1.18.2 ### Deploy mode None ### What happened When I created a new SQL task and then published it, the task kept showing as being published, and eventually the task failed to be published. After investigation, it was found that the SQL task had a background backup task. The ID in the MySQL table creation statement in the t_flink_app_backup table was a non-empty primary key, but no value was inserted in the code, and the primary key ID was not set to auto-increment, so the final insertion failed and the task release failed. ### Error Exception ```log ``` ### Screenshots <img width="825" alt="Image" src="https://github.com/user-attachments/assets/41e522a7-3afd-4d89-9c2a-6a9df7161bca" /> <img width="1420" alt="Image" src="https://github.com/user-attachments/assets/d702c88b-b5ad-435a-b708-cb3d95745708" /> ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR!(您是否要贡献这个PR?) ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
