You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/02/24 04:01:16 UTC
[GitHub] [dolphinscheduler] zhongjiajie commented on pull request #8408: [Fix-8296][API] Update process definition error
zhongjiajie commented on pull request #8408:
URL: https://github.com/apache/dolphinscheduler/pull/8408#issuecomment-1049471278
**I think we could do this, but it better do not do it again.**
I check table `t_ds_task_definition_log`, it seems we have sql syntax `having count > 1` to make sure we only delete multiple records. So DML in `t_ds_task_definition_log` look good to me.
But I am not sure the unique key of table `t_ds_process_task_relation_log`, although it has `having count > 1` to make sure the record is multiple. please double check table `t_ds_process_task_relation_log` unique key here @caishunfeng @JinyLeeChina @lenboo
If we make sure is unique key of two tables. I think it makes sense to me.
**But** as @caishunfeng said, it is a dangerous behavior due to we use `delete` syntax in DML because it will auto-run when user installs the software. Maybe we should add an optioned script about this next time. Or even use documents to alert users
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org