You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/04/19 04:20:14 UTC

[GitHub] [spark] pengbo opened a new pull request #24413: [SPARK-27518][SQL][UI] Show statistics in Optimized Logical Plan in the "Details" On SparkSQL ui page when CBO is enabled

pengbo opened a new pull request #24413: [SPARK-27518][SQL][UI] Show statistics in Optimized Logical Plan in the "Details" On SparkSQL ui page when CBO is enabled
URL: https://github.com/apache/spark/pull/24413
 
 
   ## What changes were proposed in this pull request?
   
   Statistics snapshot info with current query is really helpful to find out why the query runs slowly, especially caused by bad rejoin order when CBO is enabled. This PR is to show statistics in Optimized Logical Plan in the "Details" On SparkSQL ui page when CBO is enabled.
   
   1. Refactoring `QueryExecution` String method to avoid duplicate code
   2. Add statistic info to physicalPlanDescription when CBO is enabled
   ![SPARK-27518-1](https://user-images.githubusercontent.com/1247590/56405131-5c556a80-629d-11e9-94ef-d5e460e46088.jpg)
   
   ## How was this patch tested?
   Manual test & according UT has been added 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org