jieguangzhou commented on code in PR #13194:
URL:
https://github.com/apache/dolphinscheduler/pull/13194#discussion_r1049333169
##########
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java:
##########
@@ -187,6 +189,19 @@ public class TaskInstance implements Serializable {
*/
private Flag flag;
+ /**
+ * task is cache: yes/no
+ */
+ private IsCache isCache;
+
+ /**
+ * task is cache: yes/no
+ */
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
Review Comment:
The default value of cache_key is `null`, if we remove the cache_key, we
have to set it to `null`. So we have to ignore the update strategy, if not, the
`null` will not be updated, that means cache data will not be removed.
--
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]