englefly opened a new pull request, #14429:
URL: https://github.com/apache/doris/pull/14429

   # Proposed changes
   It is a painful work to read profile, especially there are multi-parallel 
instances.
   This tool helps us to grasp the main information of profile in a graphical 
view.
   
   The profile is represented by a tree. 
   Sql operation nodes contains operation type(join, scan...), its node id, its 
fragment id. The number on the arrow edge means how many rows output by child 
node. This tool will sum the output rows of the same node in multi-parallel 
instances, that is if there are 4 parallel instance, and each ScanNode on 
`lineitem` table output 10 rows, the label on the arrow beginning with 
ScanNode(lineitem) is 40.
   
   Here is a demo for tpch Q2
   [https://github.com/englefly/profile_viewer/blob/main/q2.nrf.png](tpch q2 
profile viewer)
   
   Issue Number: close #xxx
   
   ## Problem summary
   
   Describe your changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [ ] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [ ] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [ ] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to