EricPyZhou commented on issue #6336: URL: https://github.com/apache/dolphinscheduler/issues/6336#issuecomment-930746529
> @EricPyZhou Of course, you can fix the sql file, but you need to make sure this change is accepted by the community. I remember there was a pr has discussed the default value, you can find. From what I read from here: api模块进行save操作时 通过雪花算法生成13位的数字作为process_definition_code,工作流定义保存至process_definition(主表)和process_definition_log(日志表),这两个表保存的是同样的数据,工作流定义版本为1 作者:政采云大数据团队 链接:https://juejin.cn/post/7004640905806217252 来源:稀土掘金 I think I can just use the quick fix in `before` in `TaskInstanceMapperTest` (manually set `process_definition_code` ) because there is essentially no need to give it a default value when the definition code can be generated by the snowflake algorithm every time a workflow is saved -- 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]
