Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
MactavishCui committed Jan 2, 2025
1 parent b6595b6 commit dceb03a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,7 @@ public void refreshJobByTaskIds(Integer... taskIds) {
@Override
public LineageResult getLineage(Integer id) {
History history = getJobInfoDetail(id).getHistory();
ExecutorConfig config = ExecutorConfig.builder()
.checkpoint(0)
.parallelism(1)
.useSqlFragment(true)
.variables(fragmentVariableService.listEnabledVariables())
.build();
return LineageBuilder.getColumnLineageByLogicalPlan(history.getStatement(), config);
return LineageBuilder.getColumnLineageByLogicalPlan(history.getStatement(), history.getConfigJson());
}

@Override
Expand Down

0 comments on commit dceb03a

Please sign in to comment.