This is an automated email from the ASF dual-hosted git repository. caiconghui pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 7e828ad85b [Enhancement](profile format) Print fragment and instance in a better format (#11671) 7e828ad85b is described below commit 7e828ad85bf28c7d87e50156aa83a220f5f8fdc9 Author: Henry2SS <45096548+henry...@users.noreply.github.com> AuthorDate: Thu Aug 11 14:05:41 2022 +0800 [Enhancement](profile format) Print fragment and instance in a better format (#11671) --- .../main/java/org/apache/doris/common/profile/ProfileTreePrinter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreePrinter.java b/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreePrinter.java index c09a764d73..5d03b40648 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreePrinter.java +++ b/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreePrinter.java @@ -35,6 +35,7 @@ public class ProfileTreePrinter { public static String printFragmentTree(ProfileTreeNode root) { SimpleTreeNode rootNode = buildNode(root, PrintLevel.FRAGMENT); StringBuilder sb = new StringBuilder(); + sb.append("\n"); new TraditionalTreePrinter().print(new BorderTreeNodeDecorator(rootNode), sb); return sb.toString(); } @@ -43,6 +44,7 @@ public class ProfileTreePrinter { public static String printInstanceTree(ProfileTreeNode root) { SimpleTreeNode rootNode = buildNode(root, PrintLevel.INSTANCE); StringBuilder sb = new StringBuilder(); + sb.append("\n"); new TraditionalTreePrinter().print(new BorderTreeNodeDecorator(rootNode), sb); return sb.toString(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org