Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19346#discussion_r141246595
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
 ---
    @@ -61,7 +61,36 @@ private[ui] class AllExecutionsPage(parent: SQLTab) 
extends WebUIPage("") with L
               
details.parentNode.querySelector('.stage-details').classList.toggle('collapsed')
             }}
           </script>
    -    UIUtils.headerSparkPage("SQL", content, parent, Some(5000))
    +    val summary: NodeSeq =
    +      <div>
    +        <ul class="unstyled">
    +          {
    +            if (listener.getRunningExecutions.nonEmpty) {
    +              <li>
    +                <a href="#running-execution-table"><strong>Running 
Queries:</strong></a>
    +                {listener.getRunningExecutions.size}
    +              </li>
    +            }
    +          }
    +          {
    +            if (listener.getCompletedExecutions.nonEmpty) {
    +              <li id="completed-summary">
    --- End diff --
    
    I think `completed-summary` is for ui test on jobs and stages pages. We may 
no need to use it here if no test for it.


---

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

Reply via email to