manuzhang opened a new pull request #28474:
URL: https://github.com/apache/spark/pull/28474


   ### What changes were proposed in this pull request?
   Show write commands on SQL UI of an AQE plan
   
   ### Why are the changes needed?
   Currently the leaf node of an AQE plan is always a `AdaptiveSparkPlan` which 
is not true when it's a child of a write command. Hence, the node of the write 
command as well as its metrics are not shown on the SQL UI.
   
   #### Before
   
   
![image](https://user-images.githubusercontent.com/1191767/81288918-1893f580-9098-11ea-9771-e3d0820ba806.png)
   
   #### After
   
   
![image](https://user-images.githubusercontent.com/1191767/81289008-3a8d7800-9098-11ea-93ec-516bbaf25d2d.png)
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Add UT.
   


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

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