Skip to content

Commit

Permalink
[fix](profile) do not merge fragment_level profile (#45200)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryange authored Dec 10, 2024
1 parent da3c56d commit 938ca71
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ public void updateProfile(TReportExecStatusParams params) {
String name = param.isSetIsFragmentLevel() && param.is_fragment_level ? "Fragment Level Profile: "
+ suffix : "Pipeline :" + pipelineIdx + " " + suffix;
RuntimeProfile profile = new RuntimeProfile(name);
taskProfile.add(profile);
// The taskprofile is used to save the profile of the pipeline, without
// considering the FragmentLevel.
if (!(param.isSetIsFragmentLevel() && param.is_fragment_level)) {
taskProfile.add(profile);
}
if (param.isSetProfile()) {
profile.update(param.profile);
}
Expand Down

0 comments on commit 938ca71

Please sign in to comment.