-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DSIP-38] Optimize dependency tree #16838
base: dev
Are you sure you want to change the base?
Changes from all commits
208636f
98da150
a04ee86
92983b0
da594f9
f8fa194
e725c38
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,6 @@ | |
import org.apache.dolphinscheduler.plugin.task.api.parameters.DependentParameters; | ||
import org.apache.dolphinscheduler.plugin.task.api.parameters.SqlParameters; | ||
import org.apache.dolphinscheduler.plugin.task.api.utils.TaskTypeUtils; | ||
import org.apache.dolphinscheduler.plugin.task.sql.SqlTaskChannelFactory; | ||
import org.apache.dolphinscheduler.service.model.TaskNode; | ||
import org.apache.dolphinscheduler.service.process.ProcessService; | ||
|
||
|
@@ -1438,7 +1437,7 @@ private TaskDefinitionLog buildNormalSqlTaskDefinition(String taskName, DataSour | |
sqlParameters.setLocalParams(Collections.emptyList()); | ||
taskDefinition.setTaskParams(JSONUtils.toJsonString(sqlParameters)); | ||
taskDefinition.setCode(CodeGenerateUtils.genCode()); | ||
taskDefinition.setTaskType(SqlTaskChannelFactory.NAME); | ||
taskDefinition.setTaskType("SQL"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to use enum or constant, otherwise once the type has been changed, it's hard to know we need to make change here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This function is useless, I will remove this piece in other PR. |
||
taskDefinition.setFailRetryTimes(0); | ||
taskDefinition.setFailRetryInterval(0); | ||
taskDefinition.setTimeoutFlag(TimeoutFlag.CLOSE); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to change
dolphinscheduler-datasource-all
to provided rather than remove it, once we remove it, no one can find the module relation.