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_r386273820
 
 

 ##########
 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:
   I'm OK with that - maybe hearing more voices gives more options, hopefully.

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