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 2020/03/02 06:58:38 UTC

[GitHub] [spark] HeartSaVioR commented on a change in pull request #27755: [SPARK-31004][WEBUI][SS] Show message for empty Streaming Queries instead of empty timelines and histograms.

HeartSaVioR commented on a change in pull request #27755: [SPARK-31004][WEBUI][SS] Show message for empty Streaming Queries instead of empty timelines and histograms.
URL: https://github.com/apache/spark/pull/27755#discussion_r386222495
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/streaming/ui/StreamingQueryStatisticsPage.scala
 ##########
 @@ -264,7 +265,12 @@ private[ui] class StreamingQueryStatisticsPage(parent: StreamingQueryTab)
           </tr>
         </tbody>
       </table>
-    // scalastyle:on
+    } else {
+      <div id="empty-streaming-query-message">
+        <b>No visualization information available because there is no batch.</b>
 
 Review comment:
   `there is no batch` - this might be slightly misleading if the query was running with some batches and stopped, and restarted with checkpoint. I can't think of good alternative though as of now...

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