ruanwenjun commented on code in PR #18003:
URL:
https://github.com/apache/dolphinscheduler/pull/18003#discussion_r3078102149
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkflowLineageServiceImpl.java:
##########
@@ -319,6 +326,112 @@ public List<DependentLineageTask>
queryDependentWorkflowDefinitions(long project
return dependentLineageTaskList;
}
+ @Override
+ public List<WorkflowDefinition>
resolveDownstreamWorkflowDefinitionCodes(long rootWorkflowDefinitionCode,
+
boolean allLevelDependent,
+
boolean filterOfflineWorkflow) {
+
+ Set<Long> resultCodes = new LinkedHashSet<>();
+ Set<Long> expandedCodes = new HashSet<>();
Review Comment:
```suggestion
Set<Long> visitedWorkflowCodes = new HashSet<>();
```
--
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]