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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to